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.00105/0.00105, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.0009885/0.0009885, allocations: 169 kB / 24.28 MB, free: 268 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 1.015/1.015, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.942/1.942, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] 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.204e-06/2.204e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.494e-05, allocations: 7.375 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001248/0.001273, allocations: 0.6317 MB / 0.8121 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002465, allocations: 1.16 MB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.002513, allocations: 4 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.002617, allocations: 4.953 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.342e-05/0.00264, allocations: 7.875 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.00301, allocations: 117.2 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.00314, allocations: 91.81 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.003223, allocations: 7.938 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.003316, allocations: 44.97 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.003408, allocations: 31.88 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.003428, allocations: 8.781 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.864e-05/0.003487, allocations: 23.98 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.003541, allocations: 4 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.142e-05/0.003593, allocations: 29.66 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.00373, allocations: 79.83 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003733, allocations: 3.938 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003733, allocations: 0 / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003737, allocations: 1.531 kB / 0.8137 GB, free: 15.81 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.0004105/0.004148, allocations: 410.2 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.004183, allocations: 8.031 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.004233, allocations: 8.938 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.004384, allocations: 126.3 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.004395, allocations: 4.375 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.004416, allocations: 8.375 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/0.004511, allocations: 38.25 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004519, allocations: 192 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.004532, allocations: 5.016 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.004543, allocations: 4.375 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.00457, allocations: 12.75 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004887, allocations: 288.3 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.317e-05/0.00493, allocations: 27.06 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.004942, allocations: 9.062 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.004947, allocations: 64 / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/0.005036, allocations: 72.92 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005037, allocations: 2.594 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001728/0.00521, allocations: 61.64 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.00525, allocations: 51.41 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.005341, allocations: 165.9 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.005358, allocations: 25.7 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.005415, allocations: 146.8 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.005425, allocations: 7.938 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.005474, allocations: 39.89 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.005602, allocations: 496.8 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.005669, allocations: 57.67 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.005734, allocations: 81.59 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.005809, allocations: 86.64 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005812, allocations: 3.938 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000198/0.00601, allocations: 181.4 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.006041, allocations: 36.36 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006046, allocations: 0.5938 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.006061, allocations: 0.7812 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.006078, allocations: 4 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.006086, allocations: 1.156 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.006219, allocations: 23.91 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.006234, allocations: 9.375 kB / 0.8161 GB, free: 13.1 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 8.411e-05/0.006318, allocations: 156.6 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.006328, allocations: 11.89 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.006351, allocations: 8.578 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006353, allocations: 4 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006357, allocations: 1.125 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00636, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.094e-05/0.006441, allocations: 120.6 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006442, allocations: 1 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.006446, allocations: 4 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.006448, allocations: 4.781 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.006454, allocations: 7.875 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006455, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006457, allocations: 2.219 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.828e-05/0.006535, allocations: 88.42 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-06/0.00654, allocations: 0 / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.00655, allocations: 7.938 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.006557, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.006582, allocations: 0 / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006586, allocations: 6.781 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.006624, allocations: 131.2 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006624, allocations: 0 / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001441/0.006768, allocations: 15.95 kB / 0.8167 GB, free: 12.48 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 0.000105/0.006873, allocations: 107.4 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.007031, allocations: 142.2 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.007034, allocations: 4 kB / 0.8169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.00706, allocations: 19.67 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.007215, allocations: 10.84 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.007486, allocations: 136 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.007522, allocations: 63.2 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.00754, allocations: 4 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.007557, allocations: 9.594 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.007558, allocations: 0 / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.002922/0.01048, allocations: 1.178 MB / 0.8183 GB, free: 10.79 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.38559210090898]