Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.001395/0.001395, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001172/0.001172, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.555/2.555, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|logicalSwitch.u1|logicalSwitch.u2|logicalSwitch.u3|logicalSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.465e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001565/0.001589, allocations: 0.7468 MB / 0.8394 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.002978, allocations: 1.322 MB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.003028, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.003065, allocations: 7.922 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.003154, allocations: 19.8 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.003798, allocations: 303.3 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.004068, allocations: 255.5 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.004151, allocations: 20.11 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.004295, allocations: 135.8 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.004419, allocations: 71.81 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.00445, allocations: 24 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.004535, allocations: 39.97 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.004555, allocations: 15.98 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.004649, allocations: 71.88 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.004832, allocations: 195.5 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004834, allocations: 0 / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004835, allocations: 0 / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00484, allocations: 4 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003785/0.005218, allocations: 389.7 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.005249, allocations: 8.031 kB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.005292, allocations: 24.91 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.005374, allocations: 124.2 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.005392, allocations: 4.375 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.005416, allocations: 20.36 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/0.005492, allocations: 62.92 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.005499, allocations: 4.188 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-06/0.005506, allocations: 384 / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005512, allocations: 8.109 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.00553, allocations: 11.98 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.005809, allocations: 204.2 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.005844, allocations: 22.58 kB / 0.8426 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.005861, allocations: 12.94 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.005866, allocations: 3.938 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.005971, allocations: 103.3 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.005973, allocations: 0 / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001372/0.00611, allocations: 93.53 kB / 0.8428 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.006138, allocations: 59.39 kB / 0.8429 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.00621, allocations: 138.6 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.006236, allocations: 33.7 kB / 0.843 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.006278, allocations: 96.12 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.006295, allocations: 27.77 kB / 0.8432 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.006369, allocations: 57.66 kB / 0.8432 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.006439, allocations: 318.8 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.00654, allocations: 141.1 kB / 0.8437 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.006653, allocations: 197.1 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.006943, allocations: 214.5 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.006946, allocations: 0 / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002661/0.007212, allocations: 367.7 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.007262, allocations: 109.2 kB / 0.8445 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007269, allocations: 8 kB / 0.8445 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.00728, allocations: 0 / 0.8445 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.032e-05/0.007301, allocations: 7.938 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007305, allocations: 4 kB / 0.8445 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.007498, allocations: 55.89 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.007524, allocations: 19.98 kB / 0.8446 GB, free: 7.727 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.706e-05/0.007601, allocations: 134.3 kB / 0.8447 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.007611, allocations: 7.984 kB / 0.8447 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.007633, allocations: 16.38 kB / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007635, allocations: 0 / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.007636, allocations: 0 / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.007641, allocations: 3.984 kB / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.007712, allocations: 85.86 kB / 0.8448 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.007713, allocations: 4 kB / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.00772, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.007721, allocations: 0 / 0.8448 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007727, allocations: 8 kB / 0.8448 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007728, allocations: 0 / 0.8448 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.00773, allocations: 7.875 kB / 0.8448 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.007829, allocations: 97.34 kB / 0.8449 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.007837, allocations: 7.953 kB / 0.8449 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.007849, allocations: 7.984 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.007862, allocations: 0 / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.007889, allocations: 15.92 kB / 0.845 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007894, allocations: 4 kB / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.9e-05/0.007913, allocations: 24.34 kB / 0.845 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007913, allocations: 0 / 0.845 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001494/0.008062, allocations: 48 kB / 0.845 GB, free: 7.223 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000112/0.008174, allocations: 88.28 kB / 0.8451 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.008425, allocations: 384 kB / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008428, allocations: 0 / 0.8455 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.008456, allocations: 24.8 kB / 0.8455 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.008593, allocations: 28.34 kB / 0.8455 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.008848, allocations: 181.3 kB / 0.8457 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.008876, allocations: 55.36 kB / 0.8458 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.008903, allocations: 16.47 kB / 0.8458 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.009028, allocations: 87.33 kB / 0.8459 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.009029, allocations: 0 / 0.8459 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.004636/0.01367, allocations: 3.175 MB / 0.849 GB, free: 3.145 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Switch.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.529454513918608]