Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 393.5 MB / 408.4 MB, free: 11.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 186.4 kB / 0.4902 GB, free: 2.289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 100.2 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.0005338, allocations: 15.19 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3577, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5567, allocations: 150.4 MB / 1.376 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.557, allocations: 75.94 kB / 1.376 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.5685, allocations: 3.736 MB / 1.38 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5685, allocations: 3.938 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5685, allocations: 4 kB / 1.38 GB, free: 11.04 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005898/0.5691, allocations: 467.3 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5692, allocations: 12.56 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.446e-05/0.5693, allocations: 23.81 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.5697, allocations: 234.7 kB / 1.381 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.5697, allocations: 11.98 kB / 1.381 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.5697, allocations: 16 kB / 1.381 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.57, allocations: 129.6 kB / 1.381 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.57, allocations: 3.953 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.57, allocations: 4 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.57, allocations: 4 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.553e-05/0.5701, allocations: 51.91 kB / 1.381 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.5709, allocations: 0.7039 MB / 1.381 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.571, allocations: 53.14 kB / 1.382 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.571, allocations: 0 / 1.382 GB, free: 9.148 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.5711, allocations: 85.16 kB / 1.382 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5711, allocations: 3.938 kB / 1.382 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0002465/0.5714, allocations: 109.4 kB / 1.382 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.5715, allocations: 89.11 kB / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5716, allocations: 178 kB / 1.382 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5717, allocations: 33.7 kB / 1.382 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.5718, allocations: 120.2 kB / 1.382 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.5718, allocations: 15.81 kB / 1.382 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.5718, allocations: 0 / 1.382 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.572, allocations: 330.8 kB / 1.382 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.5721, allocations: 59.91 kB / 1.382 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.5723, allocations: 126.8 kB / 1.383 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.5724, allocations: 107.4 kB / 1.383 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5724, allocations: 4.031 kB / 1.383 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004281/0.5729, allocations: 260.8 kB / 1.383 GB, free: 7.527 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.573, allocations: 67.39 kB / 1.383 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.573, allocations: 4 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.573, allocations: 0 / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.976e-05/0.573, allocations: 7.938 kB / 1.383 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.573, allocations: 8.016 kB / 1.383 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.5734, allocations: 92.02 kB / 1.383 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.5735, allocations: 15.92 kB / 1.383 GB, free: 7.324 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.5736, allocations: 139.8 kB / 1.383 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.5736, allocations: 7.906 kB / 1.383 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.5737, allocations: 16.94 kB / 1.383 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5737, allocations: 0 / 1.383 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5737, allocations: 0 / 1.383 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5737, allocations: 7.938 kB / 1.383 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.5739, allocations: 201.6 kB / 1.384 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5739, allocations: 0 / 1.384 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-06/0.5739, allocations: 7.938 kB / 1.384 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5739, allocations: 0 / 1.384 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.574, allocations: 12 kB / 1.384 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.574, allocations: 3.984 kB / 1.384 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.574, allocations: 0 / 1.384 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.5741, allocations: 127.5 kB / 1.384 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.5742, allocations: 89.38 kB / 1.384 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.5742, allocations: 0 / 1.384 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.393e-05/0.5743, allocations: 4 kB / 1.384 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.5743, allocations: 11.94 kB / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.5743, allocations: 8 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001287/0.5745, allocations: 136.1 kB / 1.384 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.934e-06/0.5745, allocations: 0 / 1.384 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002635/0.5747, allocations: 51.88 kB / 1.384 GB, free: 6.414 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.5749, allocations: 124 kB / 1.384 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.5753, allocations: 242.7 kB / 1.384 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5753, allocations: 0 / 1.384 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.5753, allocations: 23.98 kB / 1.384 GB, free: 6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5755, allocations: 21.23 kB / 1.384 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.576, allocations: 265.2 kB / 1.385 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5764, allocations: 0.716 MB / 1.385 GB, free: 4.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.5764, allocations: 12.56 kB / 1.385 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.5765, allocations: 11.44 kB / 1.385 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5765, allocations: 0 / 1.385 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of Templates: time 0.005156/0.5816, allocations: 2.22 MB / 1.387 GB, free: 2.734 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches