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.001476/0.001476, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001842/0.001842, allocations: 161 kB / 24.17 MB, free: 332 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.9329/0.9329, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.908/1.908, allocations: 377.9 MB / 0.624 GB, free: 8.332 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 4.338e-06/4.338e-06, allocations: 4 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.325e-05, allocations: 5.547 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001832/0.001855, allocations: 0.671 MB / 0.7607 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.003615, allocations: 1.236 MB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.003666, allocations: 0 / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.003701, allocations: 8.484 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.003793, allocations: 13.56 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.004458, allocations: 214.1 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.004731, allocations: 171.7 kB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.452e-05/0.004806, allocations: 5.375 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.004965, allocations: 102.2 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005098, allocations: 50.19 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.005132, allocations: 15.94 kB / 0.7625 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.00521, allocations: 28 kB / 0.7625 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.005234, allocations: 9.016 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.005301, allocations: 47.95 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.005517, allocations: 131.6 kB / 0.7627 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00552, allocations: 4.688 kB / 0.7627 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005521, allocations: 1.781 kB / 0.7627 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.005525, allocations: 0 / 0.7627 GB, free: 3.969 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.000426/0.005951, allocations: 328.2 kB / 0.763 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.005995, allocations: 8.031 kB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.006048, allocations: 16.92 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.006149, allocations: 122.8 kB / 0.7631 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.006166, allocations: 4.375 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.006197, allocations: 12.36 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.58e-05/0.006272, allocations: 44.31 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00628, allocations: 192 / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.006287, allocations: 384 / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006293, allocations: 4.312 kB / 0.7632 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.006316, allocations: 11.92 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.006642, allocations: 184.9 kB / 0.7634 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.006709, allocations: 26.56 kB / 0.7634 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.006724, allocations: 5.609 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.00673, allocations: 4.062 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.006837, allocations: 79.94 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.006839, allocations: 1.938 kB / 0.7635 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001605/0.006999, allocations: 73.59 kB / 0.7636 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.007038, allocations: 59.39 kB / 0.7636 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.007142, allocations: 118.7 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.007173, allocations: 29.7 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.007226, allocations: 93.45 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.007244, allocations: 19.92 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.007325, allocations: 41.67 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.007413, allocations: 318.8 kB / 0.7642 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.007519, allocations: 100.4 kB / 0.7643 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.007637, allocations: 131.7 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.007812, allocations: 140.8 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007814, allocations: 2.125 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002882/0.008102, allocations: 256.3 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.008151, allocations: 69.73 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.008157, allocations: 6.688 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.008172, allocations: 7.984 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.008191, allocations: 4.062 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.008196, allocations: 7.938 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.008408, allocations: 35.92 kB / 0.7649 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.008437, allocations: 17.52 kB / 0.7649 GB, free: 1.375 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 8.226e-05/0.00852, allocations: 121.8 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.008535, allocations: 7.984 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.008561, allocations: 9.312 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008563, allocations: 0 / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.008566, allocations: 4 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00857, allocations: 0.9375 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.008656, allocations: 77.88 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.008657, allocations: 0.5 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.008665, allocations: 3.938 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.008668, allocations: 7.281 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.008673, allocations: 0 / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.008677, allocations: 3.984 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.008681, allocations: 7.875 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.008794, allocations: 81.09 kB / 0.7653 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.008805, allocations: 3.953 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.008818, allocations: 8 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.008838, allocations: 0 / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.008869, allocations: 14.36 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.008875, allocations: 3.984 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.008897, allocations: 21.25 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.008897, allocations: 0 / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002235/0.00912, allocations: 28 kB / 0.7653 GB, free: 0.9336 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 0.0001177/0.009238, allocations: 85.39 kB / 0.7654 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.009497, allocations: 259.3 kB / 0.7657 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.009501, allocations: 5 kB / 0.7657 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.009539, allocations: 24.83 kB / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.009677, allocations: 20.95 kB / 0.7657 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.009915, allocations: 156.7 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.593e-05/0.009941, allocations: 55.36 kB / 0.7659 GB, free: 252 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.842e-05/0.00996, allocations: 7.984 kB / 0.7659 GB, free: 244 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.01006, allocations: 79.28 kB / 0.766 GB, free: 164 kB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.01006, allocations: 0 / 0.766 GB, free: 164 kB / 0.7136 GB Notification: Performance of Templates: time 0.004063/0.01412, allocations: 2.227 MB / 0.7682 GB, free: 14.07 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 -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.1335828066803515]