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.001472/0.001472, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001527/0.001527, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.064/1.064, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.73e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001199/0.001217, allocations: 0.6846 MB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.002438, allocations: 1.166 MB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.002483, allocations: 0 / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.002582, allocations: 4 kB / 0.8404 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.00261, allocations: 3.938 kB / 0.8404 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.002949, allocations: 127.5 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003066, allocations: 83.88 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.003126, allocations: 12 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.617e-05/0.003192, allocations: 51.89 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.003275, allocations: 23.95 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003292, allocations: 8 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.227e-05/0.003355, allocations: 19.98 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.003396, allocations: 11.92 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.003434, allocations: 31.97 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.003572, allocations: 71.89 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.003573, allocations: 0 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003574, allocations: 0 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003577, allocations: 3.938 kB / 0.8409 GB, free: 11.82 MB / 0.8073 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.0002776/0.003855, allocations: 286.5 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.003882, allocations: 8.031 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.003914, allocations: 16.92 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.004026, allocations: 113.8 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.004034, allocations: 384 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.004048, allocations: 12.36 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.342e-05/0.004101, allocations: 38.25 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.004108, allocations: 192 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-06/0.004114, allocations: 384 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.004118, allocations: 384 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.263e-05/0.004131, allocations: 11.88 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.004291, allocations: 164.3 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.93e-05/0.00432, allocations: 18.58 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.486e-06/0.004329, allocations: 8.844 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-06/0.004331, allocations: 0 / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.004397, allocations: 67.41 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.004398, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.748e-05/0.004496, allocations: 53.61 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.004521, allocations: 51.41 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.004574, allocations: 114.7 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.004589, allocations: 29.7 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.004619, allocations: 92.09 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.004628, allocations: 11.92 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.004665, allocations: 25.64 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.004733, allocations: 330.8 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.004771, allocations: 45.69 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.004811, allocations: 60.27 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.004864, allocations: 72.48 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004865, allocations: 0 / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001077/0.004973, allocations: 152.9 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.005, allocations: 45.62 kB / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.005004, allocations: 3.938 kB / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005015, allocations: 0 / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-05/0.005027, allocations: 4 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.005029, allocations: 0 / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.005125, allocations: 19.94 kB / 0.8426 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.005136, allocations: 4 kB / 0.8426 GB, free: 9.773 MB / 0.8073 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 5.59e-05/0.005192, allocations: 124.7 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.005198, allocations: 4 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.005216, allocations: 11.94 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005218, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005219, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005221, allocations: 0 / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.263e-05/0.005274, allocations: 69.89 kB / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005275, allocations: 0 / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.005278, allocations: 0 / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005279, allocations: 0 / 0.8428 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.005283, allocations: 4 kB / 0.8428 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005285, allocations: 11.92 kB / 0.8429 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005287, allocations: 3.938 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.898e-05/0.005336, allocations: 65.11 kB / 0.8429 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.005342, allocations: 3.984 kB / 0.8429 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.005351, allocations: 4.312 kB / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-06/0.005358, allocations: 0 / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.005383, allocations: 11.94 kB / 0.8429 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005386, allocations: 3.984 kB / 0.8429 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.347e-06/0.005396, allocations: 8.859 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005396, allocations: 0 / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001106/0.005506, allocations: 16 kB / 0.843 GB, free: 9.391 MB / 0.8073 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 7.973e-05/0.005586, allocations: 88.41 kB / 0.8431 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.005701, allocations: 129.9 kB / 0.8432 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.005703, allocations: 0 / 0.8432 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.005717, allocations: 12.86 kB / 0.8432 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.851e-05/0.005805, allocations: 13.42 kB / 0.8432 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.005987, allocations: 128.6 kB / 0.8433 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.578e-05/0.006012, allocations: 59.53 kB / 0.8434 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.209e-05/0.006024, allocations: 7.938 kB / 0.8434 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.006087, allocations: 63.36 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.006087, allocations: 0 / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.002528/0.008615, allocations: 1.276 MB / 0.8447 GB, free: 7.57 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.260583753697574]