Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0009425/0.0009425, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001187/0.001187, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.961/0.961, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.457/2.457, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.053e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002393/0.002413, allocations: 1.592 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008/0.003213, allocations: 474.7 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.003255, allocations: 3.938 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.003292, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.003379, allocations: 11.86 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.003532, allocations: 23.91 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.003604, allocations: 51.84 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.003688, allocations: 11.94 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.003754, allocations: 35.89 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.003817, allocations: 11.98 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.003836, allocations: 4 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.003845, allocations: 8 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.003866, allocations: 15.92 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.003895, allocations: 19.97 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.73e-05/0.003983, allocations: 27.91 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003985, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003986, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00399, allocations: 0 / 0.8408 GB, free: 11.92 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003201/0.00431, allocations: 268.7 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004349, allocations: 8.031 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.004372, allocations: 4.938 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.004517, allocations: 113.8 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004528, allocations: 8.375 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004539, allocations: 12.34 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.004606, allocations: 42.25 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004613, allocations: 8.125 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.00462, allocations: 384 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004625, allocations: 7.922 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.004647, allocations: 8 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.004895, allocations: 188.2 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.004962, allocations: 50.59 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.00498, allocations: 12.86 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.004986, allocations: 0 / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.726e-05/0.005073, allocations: 71.3 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.005074, allocations: 0 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001184/0.005193, allocations: 69.89 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.005229, allocations: 55.34 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.005283, allocations: 110.7 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005296, allocations: 29.7 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.005333, allocations: 88.09 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.005357, allocations: 31.78 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.00539, allocations: 33.69 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.005461, allocations: 310.8 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.005475, allocations: 11.98 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.005501, allocations: 31.42 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/0.00555, allocations: 59.33 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005552, allocations: 0 / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.39e-05/0.005626, allocations: 69.55 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005638, allocations: 8 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005643, allocations: 4.031 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.005654, allocations: 0 / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.00571, allocations: 27.92 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005712, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.005746, allocations: 4.281 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.00575, allocations: 4 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.008e-05/0.00581, allocations: 128.2 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.00582, allocations: 7.938 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.005838, allocations: 8.125 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.00584, allocations: 0 / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.005842, allocations: 4 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.005846, allocations: 4 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.006037, allocations: 222.8 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.00604, allocations: 7.938 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.006206, allocations: 11.98 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.006208, allocations: 4 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.006213, allocations: 3.938 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006214, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006215, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.447e-05/0.0063, allocations: 159.5 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.00631, allocations: 11.94 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.006318, allocations: 0 / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.006355, allocations: 7.984 kB / 0.843 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.006386, allocations: 11.98 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.006391, allocations: 0 / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.039e-05/0.006401, allocations: 8.859 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006401, allocations: 0 / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001311/0.006532, allocations: 12 kB / 0.8431 GB, free: 9.379 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 7.131e-05/0.006604, allocations: 82.81 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.006679, allocations: 44.77 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.006682, allocations: 0 / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.006712, allocations: 24.8 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.006861, allocations: 17.81 kB / 0.8432 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.007086, allocations: 140.4 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.007121, allocations: 59.34 kB / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.17e-05/0.007143, allocations: 4 kB / 0.8434 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.007196, allocations: 59.36 kB / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.007197, allocations: 0 / 0.8435 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of Templates: time 0.002327/0.009524, allocations: 0.8462 MB / 0.8443 GB, free: 8.062 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2515]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198192534036934]