Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, 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.001709/0.001709, allocations: 187.4 kB / 0.4902 GB, free: 2.234 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.633/1.633, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00103/0.00103, allocations: 94.52 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.5485, allocations: 150.2 MB / 1.376 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5488, allocations: 67.97 kB / 1.376 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009687/0.5585, allocations: 3.04 MB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5586, allocations: 4 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.5586, allocations: 4 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000543/0.5591, allocations: 423.2 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5592, allocations: 8.562 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.5593, allocations: 11.91 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.5596, allocations: 230.8 kB / 1.38 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.5596, allocations: 11.92 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.5597, allocations: 11.94 kB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.5599, allocations: 107.3 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5599, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5599, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5599, allocations: 0 / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.56, allocations: 47.91 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.5607, allocations: 488.8 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.5608, allocations: 53.12 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.5608, allocations: 4.062 kB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.561, allocations: 117 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.561, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0003152/0.5613, allocations: 137.5 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.5614, allocations: 81.11 kB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.5615, allocations: 121 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.5616, allocations: 29.7 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.5617, allocations: 104 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.5617, allocations: 15.81 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.5618, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5619, allocations: 318.8 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.5622, allocations: 123.9 kB / 1.381 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.5624, allocations: 157 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.5627, allocations: 199.2 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5627, allocations: 0 / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006304/0.5634, allocations: 396.6 kB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-05/0.5634, allocations: 67.39 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5635, allocations: 4 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5635, allocations: 3.953 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.705e-05/0.5635, allocations: 4 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.5635, allocations: 192 / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.5639, allocations: 83.92 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.564, allocations: 23.92 kB / 1.382 GB, free: 12.66 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[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].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.0001614/0.5642, allocations: 137.7 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.5642, allocations: 7.906 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.5642, allocations: 11.89 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5642, allocations: 3.953 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5643, allocations: 4.375 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5643, allocations: 0 / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.5645, allocations: 181.6 kB / 1.382 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5645, allocations: 8 kB / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-06/0.5645, allocations: 0 / 1.382 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5645, allocations: 3.984 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.5645, allocations: 4 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5646, allocations: 3.984 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5646, allocations: 3.953 kB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.5648, allocations: 143.6 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.5649, allocations: 81.02 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5649, allocations: 7.984 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.5649, allocations: 3.953 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.565, allocations: 4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.565, allocations: 7.984 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.5651, allocations: 99.27 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5651, allocations: 0 / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002787/0.5653, allocations: 32 kB / 1.383 GB, free: 11.82 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[1].y,$whenCondition1,$whenCondition2,booPul[2].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.0002559/0.5656, allocations: 124 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.5661, allocations: 318.6 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5661, allocations: 3.938 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/0.5661, allocations: 35.92 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.5664, allocations: 17.23 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.5668, allocations: 223.9 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.5671, allocations: 0.7121 MB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.5672, allocations: 15.72 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.5672, allocations: 15.42 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5672, allocations: 0 / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.005096/0.5723, allocations: 2.08 MB / 1.386 GB, free: 8.219 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches