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/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.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/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001782/0.001782, allocations: 179.9 kB / 0.4902 GB, free: 2.258 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.684/1.684, allocations: 223.2 MB / 0.7992 GB, free: 15.74 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.00114/0.00114, allocations: 96.25 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 8.844 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5365, allocations: 150.6 MB / 1.376 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5367, allocations: 71.95 kB / 1.376 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.5489, allocations: 4.306 MB / 1.381 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5489, allocations: 0 / 1.381 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.549, allocations: 4 kB / 1.381 GB, free: 10.25 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006991/0.5497, allocations: 0.5099 MB / 1.381 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.5497, allocations: 12.56 kB / 1.381 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5498, allocations: 23.72 kB / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.5504, allocations: 266.6 kB / 1.381 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5504, allocations: 16 kB / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.5505, allocations: 19.98 kB / 1.381 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.5507, allocations: 158.7 kB / 1.382 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5507, allocations: 3.984 kB / 1.382 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.5508, allocations: 4 kB / 1.382 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5508, allocations: 4 kB / 1.382 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.5509, allocations: 71.89 kB / 1.382 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.5519, allocations: 0.8092 MB / 1.382 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.552, allocations: 61.16 kB / 1.383 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.552, allocations: 4.062 kB / 1.383 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.5522, allocations: 109 kB / 1.383 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.5522, allocations: 3.938 kB / 1.383 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0003134/0.5525, allocations: 133.4 kB / 1.383 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.5526, allocations: 85.05 kB / 1.383 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.5528, allocations: 212 kB / 1.383 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.5529, allocations: 37.64 kB / 1.383 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.553, allocations: 135.9 kB / 1.383 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.553, allocations: 11.81 kB / 1.383 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.5531, allocations: 12 kB / 1.383 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.5532, allocations: 330.8 kB / 1.384 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5534, allocations: 75.95 kB / 1.384 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.5536, allocations: 138.8 kB / 1.384 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5538, allocations: 135.4 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5538, allocations: 3.938 kB / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004988/0.5543, allocations: 300.7 kB / 1.384 GB, free: 6.293 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.5543, allocations: 71.39 kB / 1.384 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5543, allocations: 4 kB / 1.384 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5544, allocations: 4 kB / 1.384 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.5544, allocations: 4 kB / 1.384 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.5544, allocations: 8.109 kB / 1.384 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.5549, allocations: 83.84 kB / 1.384 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.5549, allocations: 11.98 kB / 1.384 GB, free: 6.098 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: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001452/0.5551, allocations: 153.7 kB / 1.384 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.5551, allocations: 15.81 kB / 1.385 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.5551, allocations: 16.92 kB / 1.385 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5551, allocations: 4 kB / 1.385 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5552, allocations: 0 / 1.385 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5552, allocations: 0 / 1.385 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.5554, allocations: 241.5 kB / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5554, allocations: 0 / 1.385 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.5554, allocations: 8 kB / 1.385 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5554, allocations: 3.984 kB / 1.385 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.5555, allocations: 4 kB / 1.385 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5555, allocations: 0 / 1.385 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5555, allocations: 0 / 1.385 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5557, allocations: 159.8 kB / 1.385 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.5557, allocations: 100.8 kB / 1.385 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5558, allocations: 7.969 kB / 1.385 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.5558, allocations: 0 / 1.385 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.5559, allocations: 8 kB / 1.385 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5559, allocations: 7.984 kB / 1.385 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001547/0.556, allocations: 165.6 kB / 1.385 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.556, allocations: 96 / 1.385 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002852/0.5563, allocations: 59.92 kB / 1.385 GB, free: 5.059 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: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],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 (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.0001974/0.5565, allocations: 121.1 kB / 1.385 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.5569, allocations: 270.7 kB / 1.386 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5569, allocations: 0 / 1.386 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.557, allocations: 35.92 kB / 1.386 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.5573, allocations: 37.92 kB / 1.386 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.5578, allocations: 340.7 kB / 1.386 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.5582, allocations: 0.7398 MB / 1.387 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.5583, allocations: 21.06 kB / 1.387 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.5583, allocations: 11.44 kB / 1.387 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.5583, allocations: 0 / 1.387 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.006003/0.5643, allocations: 2.776 MB / 1.389 GB, free: 0.6602 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches