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/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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001296/0.001296, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003875, allocations: 12 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8726/0.873, allocations: 153.7 MB / 1.021 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0009149/0.874, allocations: 348.5 kB / 1.021 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.8756, allocations: 1.078 MB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.8757, allocations: 4 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.021e-05/0.8758, allocations: 7.922 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.8759, allocations: 7.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.8764, allocations: 110.4 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.8766, allocations: 83.88 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.8767, allocations: 23.97 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.8768, allocations: 59.89 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.8769, allocations: 43.86 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.877, allocations: 12 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.8771, allocations: 19.98 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.8771, allocations: 23.92 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.8772, allocations: 37.7 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.8774, allocations: 145.8 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.8774, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8774, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8774, allocations: 3.938 kB / 1.023 GB, free: 15.24 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006409/0.8781, allocations: 430.4 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.8782, allocations: 11.98 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.8783, allocations: 11.91 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.8786, allocations: 215 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.8786, allocations: 11.98 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.8787, allocations: 8 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.8789, allocations: 107.2 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8789, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8789, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8789, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.879, allocations: 43.97 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.8796, allocations: 496.7 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.8797, allocations: 57.12 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-06/0.8797, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.8799, allocations: 113 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.8799, allocations: 0 / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002763/0.8802, allocations: 129.5 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.8802, allocations: 81.11 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.8804, allocations: 133.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.8804, allocations: 29.7 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8805, allocations: 112 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.8805, allocations: 15.73 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.8806, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8807, allocations: 322.8 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.8809, allocations: 119.9 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.8811, allocations: 165 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.8813, allocations: 171.3 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8813, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005407/0.8819, allocations: 372.7 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.882, allocations: 67.39 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.882, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.882, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-05/0.882, allocations: 8.125 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.882, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.8825, allocations: 93.94 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.8825, allocations: 19.98 kB / 1.026 GB, free: 11.63 MB / 0.7794 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.0001238/0.8827, allocations: 140.5 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.8827, allocations: 3.906 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.8827, allocations: 11.91 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8827, allocations: 3.984 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.8827, allocations: 8 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8828, allocations: 7.984 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.8829, allocations: 185.6 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8829, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-06/0.8829, allocations: 3.938 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.8829, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.883, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.883, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.883, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.8832, allocations: 147.6 kB / 1.026 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.874e-05/0.8833, allocations: 81.02 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.8833, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.8833, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.8834, allocations: 7.984 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.8834, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.8835, allocations: 107.2 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8835, allocations: 3.938 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002546/0.8837, allocations: 32 kB / 1.027 GB, free: 10.78 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: 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.000196/0.8839, allocations: 111.2 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.8844, allocations: 318.6 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8844, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.8844, allocations: 35.97 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.8846, allocations: 25.19 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.8851, allocations: 227.8 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8854, allocations: 0.7082 MB / 1.028 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.8854, allocations: 8 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.8854, allocations: 11.44 kB / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8854, allocations: 0 / 1.028 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.005478/0.8909, allocations: 2.099 MB / 1.03 GB, free: 7.191 MB / 0.7794 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