Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001068/0.001068, allocations: 80.94 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.001075/0.001075, allocations: 173 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.058/1.058, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.516/2.516, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.068e-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.Or): time 0.001859/0.00188, allocations: 0.7079 MB / 0.8393 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003467, allocations: 1.24 MB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.003514, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.003543, allocations: 3.938 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9e-05/0.003633, allocations: 19.86 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.004209, allocations: 207.4 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004437, allocations: 171.7 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.211e-05/0.004519, allocations: 19.91 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.004672, allocations: 87.94 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.004802, allocations: 51.84 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.004834, allocations: 12 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.004922, allocations: 31.98 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.004943, allocations: 11.98 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.005006, allocations: 47.89 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.005461, allocations: 143.6 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005463, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005464, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.005467, allocations: 0 / 0.8413 GB, free: 11.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003955/0.005863, allocations: 328.1 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.005901, allocations: 16.61 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.005947, allocations: 12.92 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.006037, allocations: 109.8 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.006054, allocations: 12.38 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.006078, allocations: 8.375 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.006154, allocations: 42.23 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.006162, allocations: 192 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.006168, allocations: 384 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006174, allocations: 4.312 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.006195, allocations: 11.94 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.006499, allocations: 184.3 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.006559, allocations: 22.58 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.006577, allocations: 12.94 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.006583, allocations: 4 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.006689, allocations: 83.28 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.006691, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001474/0.006838, allocations: 69.59 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.006875, allocations: 59.34 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.006954, allocations: 122.6 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.006983, allocations: 33.7 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.007033, allocations: 92.11 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.007048, allocations: 11.91 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.28e-05/0.007131, allocations: 45.67 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.007218, allocations: 326.8 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.00732, allocations: 91.38 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.007434, allocations: 131.7 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.007571, allocations: 140 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007573, allocations: 0 / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002748/0.007848, allocations: 268.3 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.007898, allocations: 69.89 kB / 0.8435 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.007904, allocations: 7.938 kB / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007918, allocations: 0 / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.035e-05/0.007938, allocations: 7.938 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007941, allocations: 0 / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.008147, allocations: 47.97 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.008172, allocations: 4 kB / 0.8436 GB, free: 8.805 MB / 0.8073 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.522e-05/0.008257, allocations: 136.2 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.00827, allocations: 4 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.008297, allocations: 16.38 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008299, allocations: 0 / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.008302, allocations: 3.984 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008305, allocations: 0 / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.383e-05/0.008389, allocations: 69.89 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.008394, allocations: 11.92 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-06/0.008402, allocations: 0 / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.008405, allocations: 3.984 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.008411, allocations: 4 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008413, allocations: 4 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.008415, allocations: 7.938 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.278e-05/0.008508, allocations: 73.11 kB / 0.8439 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.008521, allocations: 7.953 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.008532, allocations: 0 / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.008552, allocations: 3.984 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.008579, allocations: 11.94 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008584, allocations: 3.984 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.008607, allocations: 20.78 kB / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008607, allocations: 0 / 0.844 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002241/0.008831, allocations: 32 kB / 0.844 GB, free: 8.355 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: 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.0001048/0.008935, allocations: 84.41 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.009176, allocations: 258.1 kB / 0.8443 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.009179, allocations: 0 / 0.8443 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.009211, allocations: 24.84 kB / 0.8443 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.009344, allocations: 15.92 kB / 0.8444 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.009596, allocations: 149.4 kB / 0.8445 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.009629, allocations: 59.34 kB / 0.8446 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.009652, allocations: 4 kB / 0.8446 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.009787, allocations: 91.27 kB / 0.8446 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.009788, allocations: 0 / 0.8446 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.004638/0.01443, allocations: 2.227 MB / 0.8468 GB, free: 5.398 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.470821906812489]