Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0009903/0.0009903, 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.001046/0.001046, allocations: 181 kB / 24.09 MB, free: 416 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.9574/0.9574, allocations: 177.2 MB / 204.5 MB, free: 5.504 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.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.43e-05, allocations: 3.188 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001337/0.001362, allocations: 0.6674 MB / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.002615, allocations: 1.226 MB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.002655, allocations: 1.125 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.002682, allocations: 3.938 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.002752, allocations: 19.8 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.003236, allocations: 209.3 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003406, allocations: 181.3 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.003483, allocations: 7.984 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.003595, allocations: 95.86 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.798e-05/0.003693, allocations: 47.86 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.00372, allocations: 17.53 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.003783, allocations: 31.97 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.003804, allocations: 11.94 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.003852, allocations: 51.94 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.004002, allocations: 133.4 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004004, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004005, allocations: 0 / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004009, allocations: 0 / 0.8146 GB, free: 14.77 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.0003653/0.004374, allocations: 471.8 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.00441, allocations: 9.094 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.004448, allocations: 12.89 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.004516, allocations: 116.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.004528, allocations: 9.969 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.004547, allocations: 12.38 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.553e-05/0.004612, allocations: 42.23 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004619, allocations: 4.125 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.004625, allocations: 6.969 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004629, allocations: 384 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.343e-05/0.004643, allocations: 7.938 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.004928, allocations: 308.3 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.00498, allocations: 39.03 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.004995, allocations: 11.69 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.005001, allocations: 4.469 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.233e-05/0.005093, allocations: 81.83 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005094, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001589/0.005253, allocations: 94.08 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005282, allocations: 59.34 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.00536, allocations: 175.5 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.005379, allocations: 29.7 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.005446, allocations: 142.8 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.005458, allocations: 15.89 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.005518, allocations: 55.92 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.005644, allocations: 0.4923 MB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.005721, allocations: 96.16 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.941e-05/0.005811, allocations: 149.8 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.005918, allocations: 156.3 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00592, allocations: 3.938 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003086/0.006228, allocations: 309.7 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.006268, allocations: 71.33 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006273, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.006283, allocations: 4.906 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.511e-05/0.006298, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.006302, allocations: 4 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.006457, allocations: 39.03 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.006475, allocations: 11.98 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 7.464e-05/0.00655, allocations: 168.5 kB / 0.8177 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.006562, allocations: 15.88 kB / 0.8177 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.006586, allocations: 16.38 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006588, allocations: 2.719 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.006589, allocations: 0 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.006593, allocations: 0 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.319e-05/0.006666, allocations: 109.2 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006668, allocations: 64 / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.006675, allocations: 8 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006676, allocations: 0 / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.006681, allocations: 1.531 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006682, allocations: 4.297 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.006685, allocations: 3.938 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.00679, allocations: 120.3 kB / 0.818 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.006799, allocations: 8.453 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006807, allocations: 1.469 kB / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.006817, allocations: 0 / 0.818 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.006846, allocations: 15.86 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.006851, allocations: 4 kB / 0.818 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.006894, allocations: 132.1 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006894, allocations: 0 / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001624/0.007057, allocations: 28 kB / 0.8182 GB, free: 10.79 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001146/0.007171, allocations: 103.6 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.007369, allocations: 265.8 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007371, allocations: 0 / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.007396, allocations: 23.67 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.00756, allocations: 24.67 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.007785, allocations: 160.5 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.007818, allocations: 63.2 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.00784, allocations: 4 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.007942, allocations: 106.2 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of SimCode: time 3.51e-07/0.007943, allocations: 0.9688 kB / 0.8189 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.003591/0.01153, allocations: 2.232 MB / 0.8211 GB, free: 7.797 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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.063735748641193]