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.001091/0.001091, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001175/0.001175, allocations: 165 kB / 24.17 MB, free: 328 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.961/1.961, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.683e-06/1.683e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.149e-05, allocations: 6.844 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001323/0.001345, allocations: 0.7176 MB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.002526, allocations: 1.243 MB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.00256, allocations: 4.688 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.002582, allocations: 3.938 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.002641, allocations: 13.05 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.003006, allocations: 210 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.0035, allocations: 177.3 kB / 0.7624 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.00356, allocations: 7.984 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.003659, allocations: 99.78 kB / 0.7625 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.003745, allocations: 51.91 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.003767, allocations: 16 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.003827, allocations: 23.98 kB / 0.7626 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.003843, allocations: 11.94 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.003887, allocations: 51.94 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.004018, allocations: 136.4 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00402, allocations: 0 / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004021, allocations: 0.75 kB / 0.7628 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.004024, allocations: 0 / 0.7628 GB, free: 3.867 MB / 0.7136 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.0003114/0.004335, allocations: 324.9 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.004367, allocations: 16.02 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.004404, allocations: 15.11 kB / 0.7631 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.375e-05/0.004477, allocations: 113.7 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004489, allocations: 8.359 kB / 0.7632 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.004505, allocations: 8.375 kB / 0.7632 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.082e-05/0.004566, allocations: 50.17 kB / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.004574, allocations: 1.656 kB / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.004579, allocations: 384 / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004586, allocations: 384 / 0.7633 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.004601, allocations: 11.94 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.00482, allocations: 177.5 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.004868, allocations: 34.56 kB / 0.7635 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.004883, allocations: 12.94 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.004888, allocations: 3.062 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.736e-05/0.004965, allocations: 71.33 kB / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.004966, allocations: 0 / 0.7636 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001131/0.005079, allocations: 81.52 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.005107, allocations: 55.41 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.005174, allocations: 114.7 kB / 0.7638 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.005197, allocations: 29.7 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.005238, allocations: 106.8 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.005248, allocations: 7.938 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.005304, allocations: 45.67 kB / 0.764 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.005375, allocations: 318.8 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.00545, allocations: 99.31 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.005529, allocations: 138.7 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.005624, allocations: 148.8 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005626, allocations: 0 / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001861/0.005812, allocations: 253.5 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.00585, allocations: 70.48 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005855, allocations: 7.938 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005867, allocations: 0 / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-05/0.005882, allocations: 4 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005884, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.006027, allocations: 47.91 kB / 0.765 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.006043, allocations: 7.125 kB / 0.765 GB, free: 1.281 MB / 0.7136 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 6.887e-05/0.006112, allocations: 128.4 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.006121, allocations: 7.938 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.006142, allocations: 16.38 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006143, allocations: 0 / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.006147, allocations: 3.984 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.00615, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.896e-05/0.006209, allocations: 73.89 kB / 0.7652 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.006211, allocations: 5.797 kB / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-06/0.006216, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006217, allocations: 0 / 0.7653 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.006222, allocations: 4 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006222, allocations: 0 / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.006224, allocations: 4.469 kB / 0.7653 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.006289, allocations: 86.19 kB / 0.7653 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.006296, allocations: 3.953 kB / 0.7653 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.006304, allocations: 6.438 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.006314, allocations: 7.922 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.006337, allocations: 3.938 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.006341, allocations: 4 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.468e-05/0.006355, allocations: 17.31 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006356, allocations: 4 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001215/0.006477, allocations: 24 kB / 0.7654 GB, free: 0.8438 MB / 0.7136 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 8.354e-05/0.006561, allocations: 91.22 kB / 0.7655 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.006741, allocations: 262.9 kB / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.006743, allocations: 0 / 0.7658 GB, free: 464 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.006765, allocations: 16.86 kB / 0.7658 GB, free: 444 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.006867, allocations: 23.67 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.007065, allocations: 162.3 kB / 0.7659 GB, free: 232 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.183e-05/0.007097, allocations: 59.34 kB / 0.766 GB, free: 152 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.007115, allocations: 4 kB / 0.766 GB, free: 148 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.007206, allocations: 79.91 kB / 0.7661 GB, free: 68 kB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.007206, allocations: 0.8438 kB / 0.7661 GB, free: 68 kB / 0.7136 GB Notification: Performance of Templates: time 0.00437/0.01158, allocations: 2.223 MB / 0.7683 GB, free: 13.97 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.21563106495887]