Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.77/2.77, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 75.88 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7598, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002494/0.7623, allocations: 0.8729 MB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.764, allocations: 1.296 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.7641, allocations: 7.875 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.7643, allocations: 19.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.7643, allocations: 23.8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.765, allocations: 257.8 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.7654, allocations: 347.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.7656, allocations: 53.47 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.7657, allocations: 127.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.766, allocations: 119.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.766, allocations: 32 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.7661, allocations: 47.97 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.7662, allocations: 47.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.7664, allocations: 107.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.7667, allocations: 333 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7667, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7667, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.7667, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006614/0.7674, allocations: 0.5409 MB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7674, allocations: 12.02 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.7675, allocations: 28.66 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.7681, allocations: 307.9 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.7682, allocations: 12.38 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.7682, allocations: 20.38 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.7684, allocations: 151.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7685, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.7685, allocations: 15.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7685, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.7686, allocations: 63.84 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.7693, allocations: 0.7468 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.131e-05/0.7694, allocations: 61.17 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.7695, allocations: 21.78 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.7695, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.7697, allocations: 109 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.7697, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002845/0.77, allocations: 125.4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.7701, allocations: 77.11 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.7703, allocations: 224.6 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.7703, allocations: 29.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.7704, allocations: 139.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.7705, allocations: 23.73 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.7706, allocations: 57.69 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7707, allocations: 330.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.7708, allocations: 59.97 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.771, allocations: 118.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.7712, allocations: 202 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7712, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000447/0.7717, allocations: 292.6 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.7717, allocations: 65.11 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7717, allocations: 4 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7717, allocations: 4 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.7718, allocations: 16.17 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7718, allocations: 0 / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.7721, allocations: 55.94 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.7722, allocations: 12 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.7723, allocations: 157.6 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.7723, allocations: 19.81 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.7724, allocations: 13.41 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.7724, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7724, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.7724, allocations: 7.922 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.7726, allocations: 229.5 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7726, allocations: 4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.7726, allocations: 11.97 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7726, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7726, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.7727, allocations: 8 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7727, allocations: 3.938 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.7728, allocations: 137.7 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.7729, allocations: 88.92 kB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.7729, allocations: 3.984 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/0.7729, allocations: 4 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.773, allocations: 8 kB / 1.025 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.773, allocations: 7.984 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7731, allocations: 148.5 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7731, allocations: 0 / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002532/0.7734, allocations: 39.84 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.7736, allocations: 119.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.7739, allocations: 254.9 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.774, allocations: 8.062 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.774, allocations: 35.92 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.7743, allocations: 31.92 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.7748, allocations: 301 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.7751, allocations: 0.7241 MB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.335e-05/0.7751, allocations: 21.53 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.7752, allocations: 23.44 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7752, allocations: 0 / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.005273/0.7805, allocations: 2.385 MB / 1.029 GB, free: 5.672 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches