Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001113/0.001113, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.00121/0.00121, allocations: 187 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8724, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002021/0.8745, allocations: 0.6208 MB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.8761, allocations: 1.131 MB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.8762, allocations: 0 / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.8764, allocations: 3.938 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.8765, allocations: 11.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.877, allocations: 123.1 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.8773, allocations: 199.7 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.8774, allocations: 23.98 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.8775, allocations: 75.88 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.8777, allocations: 75.72 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.8778, allocations: 16 kB / 1.17 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.8779, allocations: 27.98 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.878, allocations: 19.98 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.8781, allocations: 75.75 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.8784, allocations: 195.1 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8784, allocations: 4 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8784, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.8784, allocations: 0 / 1.17 GB, free: 1.301 MB / 0.8887 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.0007539/0.8792, allocations: 452.8 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8792, allocations: 12.86 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.8793, allocations: 12.84 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.8797, allocations: 220.3 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.8797, allocations: 8.375 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.8797, allocations: 16.38 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.8799, allocations: 95.92 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.8799, allocations: 192 / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.88, allocations: 3.938 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.88, allocations: 4 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.8801, allocations: 43.91 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.8808, allocations: 0.4929 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.8809, allocations: 49.2 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.8809, allocations: 25.77 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.8809, allocations: 3.938 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.8811, allocations: 117 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.8811, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0003344/0.8814, allocations: 137.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.8815, allocations: 81.11 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.8817, allocations: 137.8 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.8817, allocations: 29.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.8818, allocations: 96.05 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.8818, allocations: 23.78 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.8819, allocations: 57.62 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8821, allocations: 322.8 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.8823, allocations: 119.9 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.8825, allocations: 168.9 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.8828, allocations: 220.4 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8828, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005746/0.8834, allocations: 376.6 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.8835, allocations: 75.58 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.8835, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.8835, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.8836, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.8836, allocations: 7.938 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.884, allocations: 67.78 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.884, allocations: 19.98 kB / 1.173 GB, free: 13.51 MB / 0.9044 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 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.8841, allocations: 133.8 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.8842, allocations: 7.906 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.8842, allocations: 7.906 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8842, allocations: 0 / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8842, allocations: 4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.8842, allocations: 3.938 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.8844, allocations: 181.6 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8844, allocations: 4 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.8844, allocations: 3.984 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8844, allocations: 4 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.8845, allocations: 4 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8845, allocations: 4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8845, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.8847, allocations: 137.7 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.8847, allocations: 81.48 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.8847, allocations: 4 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.8848, allocations: 4 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.8848, allocations: 11.92 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8848, allocations: 7.984 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.8849, allocations: 99.27 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8849, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002756/0.8852, allocations: 39.89 kB / 1.174 GB, free: 12.68 MB / 0.9044 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 (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.0001802/0.8854, allocations: 115.2 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.8858, allocations: 330.5 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8859, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.8859, allocations: 43.95 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.8862, allocations: 24.48 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.8867, allocations: 233.2 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.887, allocations: 0.7063 MB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.887, allocations: 11.44 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.887, allocations: 0 / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.003782/0.8908, allocations: 1.771 MB / 1.177 GB, free: 9.387 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches