Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00529/0.00529, allocations: 106.3 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9605, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002918/0.9635, allocations: 0.8643 MB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.9657, allocations: 1.303 MB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.9658, allocations: 0 / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.966, allocations: 11.81 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.9661, allocations: 39.72 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.9668, allocations: 262.7 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.9672, allocations: 343.4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.9674, allocations: 65.41 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.9676, allocations: 135.6 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.9678, allocations: 103.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.9678, allocations: 28 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.968, allocations: 47.98 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.9681, allocations: 51.83 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.9682, allocations: 123.4 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.9686, allocations: 346.5 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9686, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9686, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.9686, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 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.0007683/0.9694, allocations: 0.5508 MB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9694, allocations: 8.031 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.9695, allocations: 28.73 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.9702, allocations: 300 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.9703, allocations: 16.38 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.9703, allocations: 12.38 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.9706, allocations: 157.5 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.9706, allocations: 3.938 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.9706, allocations: 4 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.9706, allocations: 4 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.9708, allocations: 67.89 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.9716, allocations: 0.7584 MB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.851e-05/0.9717, allocations: 65.17 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.9717, allocations: 21.78 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.9717, allocations: 4 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.9719, allocations: 101 kB / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.9719, allocations: 0 / 1.213 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0002787/0.9722, allocations: 129.4 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.9723, allocations: 81.11 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.9725, allocations: 215.7 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.9725, allocations: 33.7 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.9726, allocations: 140.2 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.9727, allocations: 23.72 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9728, allocations: 65.67 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9729, allocations: 322.8 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.9731, allocations: 67.97 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.9733, allocations: 140.5 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.9735, allocations: 198.1 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9735, allocations: 3.938 kB / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000458/0.974, allocations: 292.6 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.448e-05/0.9741, allocations: 63.39 kB / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9741, allocations: 192 / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9741, allocations: 8 kB / 1.215 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.9742, allocations: 8 kB / 1.215 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.9742, allocations: 7.938 kB / 1.215 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.9746, allocations: 67.83 kB / 1.215 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.9746, allocations: 15.98 kB / 1.215 GB, free: 5.566 MB / 0.9356 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.0001542/0.9748, allocations: 154.6 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.9748, allocations: 19.8 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.9749, allocations: 12.94 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9749, allocations: 4 kB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9749, allocations: 4 kB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9749, allocations: 0 / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.9751, allocations: 233.5 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.9751, allocations: 0 / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.9751, allocations: 4 kB / 1.216 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.9751, allocations: 11.98 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.9752, allocations: 0 / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9752, allocations: 3.938 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9752, allocations: 0 / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.9753, allocations: 137.7 kB / 1.216 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.9754, allocations: 88.92 kB / 1.216 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.9754, allocations: 4 kB / 1.216 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.22e-05/0.9755, allocations: 7.984 kB / 1.216 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.9755, allocations: 8 kB / 1.216 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.9755, allocations: 0 / 1.216 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001065/0.9756, allocations: 145.5 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9756, allocations: 0 / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002646/0.9759, allocations: 51.84 kB / 1.216 GB, free: 4.594 MB / 0.9356 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.0001514/0.9761, allocations: 115.6 kB / 1.216 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.9764, allocations: 262.7 kB / 1.216 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9764, allocations: 0 / 1.216 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.9765, allocations: 36.2 kB / 1.216 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.9768, allocations: 39.94 kB / 1.216 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.9773, allocations: 301.2 kB / 1.217 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.9776, allocations: 0.7241 MB / 1.217 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.9776, allocations: 21.53 kB / 1.217 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.9777, allocations: 19.44 kB / 1.217 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9777, allocations: 0 / 1.217 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of Templates: time 0.00613/0.9838, allocations: 2.543 MB / 1.22 GB, free: 0.5 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches