Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001353/0.001353, allocations: 181 kB / 24.09 MB, free: 420 kB / 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 0.9185/0.9185, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.9 MB / 0.6239 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.827e-05, allocations: 3.219 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001591/0.001609, allocations: 0.6339 MB / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.003423, allocations: 1.163 MB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.003485, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.003601, allocations: 0.7812 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.003635, allocations: 11.86 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.004097, allocations: 117.4 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004229, allocations: 91.77 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.49e-05/0.004314, allocations: 17.44 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.004395, allocations: 51.95 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.004491, allocations: 23.91 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004512, allocations: 8 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.004567, allocations: 21.17 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.004617, allocations: 11.97 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.004655, allocations: 23.98 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.00477, allocations: 79.83 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.004772, allocations: 1.594 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004773, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.004776, allocations: 0 / 0.8142 GB, free: 15.19 MB / 0.7761 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.0003627/0.005139, allocations: 406.2 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.005174, allocations: 14.62 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.005205, allocations: 8.875 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.005318, allocations: 132.5 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.005328, allocations: 4.375 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.00534, allocations: 4.375 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.329e-05/0.005403, allocations: 38.25 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.00541, allocations: 4.188 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.005415, allocations: 1.094 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.005421, allocations: 384 / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.117e-05/0.005432, allocations: 8.469 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.005643, allocations: 278 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.087e-05/0.005674, allocations: 27.06 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-06/0.005682, allocations: 7.688 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-06/0.005686, allocations: 0 / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.109e-05/0.005757, allocations: 69.55 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.005757, allocations: 0.5 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001197/0.005877, allocations: 58.52 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.005903, allocations: 55.39 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.005978, allocations: 165.9 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.005992, allocations: 30.86 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.006038, allocations: 138.8 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.006046, allocations: 7.953 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.006088, allocations: 40.72 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006191, allocations: 496.1 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.006233, allocations: 53.62 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.006285, allocations: 82.48 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.006341, allocations: 72.75 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.006344, allocations: 4 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000138/0.006482, allocations: 165.5 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.006508, allocations: 41.02 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.006513, allocations: 3.938 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.006522, allocations: 0.9062 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.006536, allocations: 8.297 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.006539, allocations: 0 / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.00664, allocations: 24.77 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.006652, allocations: 6.156 kB / 0.8165 GB, free: 12.54 MB / 0.7761 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 6.216e-05/0.006714, allocations: 160.6 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.006723, allocations: 15.88 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.006742, allocations: 4 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006744, allocations: 240 / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.006747, allocations: 6.625 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006751, allocations: 3.984 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.216e-05/0.006813, allocations: 105.2 kB / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006814, allocations: 0 / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-06/0.006818, allocations: 0 / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.006818, allocations: 0 / 0.8168 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-06/0.006822, allocations: 7.938 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006823, allocations: 5.594 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006824, allocations: 0 / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952e-05/0.006894, allocations: 84.38 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.006901, allocations: 7.984 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.006907, allocations: 0 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-06/0.006915, allocations: 4.438 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.006933, allocations: 4.562 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.006936, allocations: 0 / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.2e-05/0.006968, allocations: 128.8 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006968, allocations: 0 / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001287/0.007097, allocations: 19.95 kB / 0.8171 GB, free: 11.93 MB / 0.7761 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 9.668e-05/0.007194, allocations: 99.91 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.00733, allocations: 144.4 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007332, allocations: 0 / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.00735, allocations: 15.67 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.007483, allocations: 15.86 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.007684, allocations: 134.2 kB / 0.8175 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.007716, allocations: 63.14 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.00773, allocations: 4 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.007798, allocations: 83.97 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of SimCode: time 6.62e-07/0.007798, allocations: 0 / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.002574/0.01037, allocations: 1.284 MB / 0.8189 GB, free: 10.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.0210297498852015]