Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 99.64 kB / 18.95 MB, free: 2.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 214.5 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.673/3.673, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 62.84 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4462, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001879/0.448, allocations: 0.6207 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4496, allocations: 1.132 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.4497, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.4498, allocations: 7.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.4498, allocations: 7.922 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.4503, allocations: 129.3 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.4505, allocations: 83.89 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.4506, allocations: 8 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.4507, allocations: 35.91 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.4508, allocations: 27.95 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.4508, allocations: 8 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.4509, allocations: 19.98 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.4509, allocations: 11.94 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.451, allocations: 27.91 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4512, allocations: 91.72 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4512, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4512, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4512, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004839/0.4517, allocations: 311.9 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4517, allocations: 15.97 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.4518, allocations: 4.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.452, allocations: 118.5 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.452, allocations: 8.359 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.452, allocations: 4.375 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.4521, allocations: 46.25 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4521, allocations: 192 / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.4521, allocations: 7.938 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4522, allocations: 3.984 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.4522, allocations: 11.94 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.4525, allocations: 236.5 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.4526, allocations: 22.52 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.4526, allocations: 17.91 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.4526, allocations: 4.062 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.4528, allocations: 51.34 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4528, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002017/0.453, allocations: 73.56 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.453, allocations: 51.41 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.4531, allocations: 109.8 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.4531, allocations: 33.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.4532, allocations: 92.09 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.4532, allocations: 3.938 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.4533, allocations: 29.7 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4534, allocations: 314.8 kB / 1.367 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.4535, allocations: 61.69 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.4536, allocations: 76.25 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.4537, allocations: 80.22 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4537, allocations: 4 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002656/0.454, allocations: 188.9 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.454, allocations: 37.7 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.454, allocations: 3.984 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.454, allocations: 0 / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.354e-05/0.4541, allocations: 0 / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4541, allocations: 4 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4542, allocations: 27.91 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4543, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001051/0.4544, allocations: 125.9 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.4544, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.4544, allocations: 4 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.4544, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4544, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.4544, allocations: 4 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.4545, allocations: 117.1 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4545, allocations: 0 / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-06/0.4545, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4545, allocations: 4 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4545, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.4545, allocations: 320 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4545, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4547, allocations: 89.22 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.4547, allocations: 4.031 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4547, allocations: 4 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.4547, allocations: 7.938 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.4547, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4547, allocations: 3.984 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.4548, allocations: 87.28 kB / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4548, allocations: 0 / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002041/0.455, allocations: 16 kB / 1.368 GB, free: 8.547 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001504/0.4551, allocations: 103.2 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.4554, allocations: 137 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4554, allocations: 0 / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.4554, allocations: 8 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.4556, allocations: 15.92 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.4559, allocations: 130.1 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.438e-05/0.456, allocations: 75.42 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.881e-05/0.456, allocations: 3.984 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.456, allocations: 11.44 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.456, allocations: 0 / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of Templates: time 0.003913/0.4599, allocations: 1.163 MB / 1.37 GB, free: 6.871 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.956749591976404]