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.0009145/0.0009145, 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.0009337/0.0009337, allocations: 177 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 0.9094/0.9094, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.347/2.347, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.243e-06/1.243e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.33e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001907/0.00192, allocations: 1.529 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0005595/0.00248, allocations: 470.7 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.002512, allocations: 0 / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.002537, allocations: 3.938 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.998e-05/0.002607, allocations: 11.88 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.002717, allocations: 27.89 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.002791, allocations: 47.84 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.002871, allocations: 8 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.002945, allocations: 43.83 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.003012, allocations: 11.98 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.003034, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.003045, allocations: 4 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.00307, allocations: 15.92 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.003101, allocations: 11.98 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.0032, allocations: 39.88 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.003204, allocations: 4 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003204, allocations: 0 / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.003208, allocations: 0 / 0.8407 GB, free: 11.97 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.000355/0.003563, allocations: 252.8 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.003599, allocations: 16.03 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.003629, allocations: 8.922 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.003714, allocations: 117.7 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.003726, allocations: 4.375 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.003743, allocations: 4.375 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.818e-05/0.003821, allocations: 54.23 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.003829, allocations: 192 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.003836, allocations: 384 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.003841, allocations: 3.938 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.003866, allocations: 15.98 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.004091, allocations: 192.1 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.004157, allocations: 34.58 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.004181, allocations: 16.84 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.004187, allocations: 0 / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.717e-05/0.004264, allocations: 75.33 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 8.32e-07/0.004265, allocations: 0 / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001021/0.004367, allocations: 65.91 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.004403, allocations: 55.39 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.599e-05/0.004449, allocations: 106.7 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.004461, allocations: 33.7 kB / 0.8417 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.004487, allocations: 92.08 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.004507, allocations: 27.84 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.004536, allocations: 29.69 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.004603, allocations: 318.8 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.004613, allocations: 7.938 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-05/0.004639, allocations: 35.42 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.004683, allocations: 55.33 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004684, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.664e-05/0.004751, allocations: 81.48 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.00476, allocations: 4 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004765, allocations: 4.266 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.004776, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.004828, allocations: 15.98 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.004831, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.004859, allocations: 8 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.004864, allocations: 4 kB / 0.8424 GB, free: 10.08 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 5.654e-05/0.004921, allocations: 125.7 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.00493, allocations: 11.92 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.004947, allocations: 12.16 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.004948, allocations: 0 / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.004949, allocations: 0 / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004953, allocations: 4.062 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.00513, allocations: 226.8 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.005132, allocations: 7.938 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.005142, allocations: 0 / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005143, allocations: 4 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.005149, allocations: 3.984 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00515, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.00515, allocations: 4 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.815e-05/0.005218, allocations: 155.5 kB / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.005226, allocations: 11.94 kB / 0.8429 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.005234, allocations: 0 / 0.8429 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.005266, allocations: 4 kB / 0.8429 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.005292, allocations: 7.984 kB / 0.8429 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.005296, allocations: 7.938 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.174e-05/0.005308, allocations: 12.84 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005308, allocations: 0 / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001223/0.00543, allocations: 12 kB / 0.843 GB, free: 9.434 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 6.931e-05/0.0055, allocations: 91.73 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.005565, allocations: 36.78 kB / 0.8431 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.005567, allocations: 0 / 0.8431 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.005597, allocations: 28.83 kB / 0.8431 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.00572, allocations: 15.88 kB / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.005908, allocations: 140.4 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.00594, allocations: 63.34 kB / 0.8433 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.005958, allocations: 4 kB / 0.8433 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.006013, allocations: 63.42 kB / 0.8434 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.006013, allocations: 0 / 0.8434 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of Templates: time 0.002032/0.008045, allocations: 0.8491 MB / 0.8442 GB, free: 8.109 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 -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.079967780038714]