Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005966/0.005965, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001267/0.001267, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.665/2.665, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 66.95 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3903, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002255/0.3926, allocations: 0.6224 MB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3943, allocations: 1.122 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3944, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3946, allocations: 7.922 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.3947, allocations: 7.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.3952, allocations: 119.1 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.3955, allocations: 207.6 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3957, allocations: 8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3958, allocations: 83.88 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.396, allocations: 71.83 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.3961, allocations: 16 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.3962, allocations: 35.92 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.3963, allocations: 23.92 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3965, allocations: 63.81 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.3968, allocations: 199.5 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3968, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3968, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3969, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 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.0006774/0.3975, allocations: 458.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3976, allocations: 8.031 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.3977, allocations: 16.84 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.3979, allocations: 216.2 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.398, allocations: 12.36 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.398, allocations: 12.38 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.3982, allocations: 99.86 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3982, allocations: 192 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3983, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3983, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.3983, allocations: 47.91 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.3989, allocations: 488.8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.399, allocations: 53.19 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.3991, allocations: 25.77 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.3991, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.3993, allocations: 116.9 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3993, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003086/0.3996, allocations: 129.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3997, allocations: 81.09 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3998, allocations: 153.5 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3999, allocations: 37.69 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.3999, allocations: 92.05 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.4, allocations: 11.81 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.4001, allocations: 61.67 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4002, allocations: 314.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4004, allocations: 127.9 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.4007, allocations: 169 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.4009, allocations: 216.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.401, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005723/0.4015, allocations: 376.7 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.4016, allocations: 67.39 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4016, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4016, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.4017, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4017, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.4021, allocations: 75.94 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.4021, allocations: 8 kB / 1.094 GB, free: 11.17 MB / 0.8575 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.0001251/0.4022, allocations: 144.3 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.4023, allocations: 7.906 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.4023, allocations: 7.906 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4023, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4023, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4023, allocations: 15.88 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4025, allocations: 189.6 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4025, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.4025, allocations: 4 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4025, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4026, allocations: 3.984 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4026, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4026, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.4027, allocations: 137.8 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.4028, allocations: 85 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.4028, allocations: 7.938 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.4028, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.4029, allocations: 15.92 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.4029, allocations: 0 / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.403, allocations: 99.27 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.403, allocations: 0 / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002528/0.4032, allocations: 32 kB / 1.095 GB, free: 10.32 MB / 0.8575 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.0001752/0.4034, allocations: 111.2 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.4039, allocations: 326.5 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4039, allocations: 0 / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.4039, allocations: 27.98 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.4042, allocations: 24.42 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.4048, allocations: 211.3 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4051, allocations: 0.704 MB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.4051, allocations: 4 kB / 1.096 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.4051, allocations: 15.42 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.4051, allocations: 0 / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.005578/0.4107, allocations: 2.262 MB / 1.098 GB, free: 6.59 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches