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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.186/2.186, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 184.7 kB / 491.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 0.7868 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 95.77 kB / 0.9269 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.526e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.212 GB, free: 39.61 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9425/1.224, allocations: 150 MB / 1.359 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.224, allocations: 70.83 kB / 1.359 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00418/1.229, allocations: 1.4 MB / 1.36 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.229, allocations: 0 / 1.36 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.111e-06/1.229, allocations: 0 / 1.36 GB, free: 33.26 MB / 0.8386 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.0003479/1.229, allocations: 355.2 kB / 1.361 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.229, allocations: 11.56 kB / 1.361 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/1.229, allocations: 0 / 1.361 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/1.229, allocations: 168.5 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/1.229, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/1.229, allocations: 3.781 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.369e-05/1.229, allocations: 27.91 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.902e-05/1.229, allocations: 48.59 kB / 1.361 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.229, allocations: 0 / 1.361 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/1.229, allocations: 4 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.229, allocations: 5.141 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/1.23, allocations: 278.2 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/1.23, allocations: 48.72 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/1.23, allocations: 25.11 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/1.23, allocations: 0 / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/1.23, allocations: 72.7 kB / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/1.23, allocations: 0 / 1.361 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0001561/1.23, allocations: 81.22 kB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.23, allocations: 60.48 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/1.23, allocations: 99.92 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.23, allocations: 29.58 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/1.23, allocations: 84.73 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/1.23, allocations: 24.73 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.23, allocations: 0 / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/1.231, allocations: 312.4 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/1.231, allocations: 18.41 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/1.231, allocations: 48.45 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/1.231, allocations: 14.33 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.231, allocations: 0 / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001058/1.231, allocations: 91.11 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.231, allocations: 3.969 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.231, allocations: 3.875 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.231, allocations: 0 / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/1.231, allocations: 20.08 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.231, allocations: 9.625 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/1.231, allocations: 9.297 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.231, allocations: 3.75 kB / 1.362 GB, free: 31.61 MB / 0.8386 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/1.231, allocations: 104.6 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/1.231, allocations: 5.438 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/1.231, allocations: 8.188 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.231, allocations: 0 / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.231, allocations: 0 / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.231, allocations: 5.312 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/1.231, allocations: 336.4 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.231, allocations: 0 / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/1.231, allocations: 7.906 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.231, allocations: 1.641 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/1.231, allocations: 0 / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.231, allocations: 0 / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.231, allocations: 7.984 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/1.232, allocations: 174.3 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/1.232, allocations: 85.98 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/1.232, allocations: 4.25 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/1.232, allocations: 6.953 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.232, allocations: 7.922 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/1.232, allocations: 7.844 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.94e-05/1.232, allocations: 91.86 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.232, allocations: 0 / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00021/1.232, allocations: 7.844 kB / 1.363 GB, free: 30.88 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.449e-05/1.232, allocations: 103.7 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/1.232, allocations: 46.8 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.232, allocations: 0 / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/1.232, allocations: 25.94 kB / 1.363 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/1.233, allocations: 9.625 kB / 1.363 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/1.233, allocations: 87.08 kB / 1.363 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.233, allocations: 0.6875 MB / 1.364 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.397e-05/1.233, allocations: 10.77 kB / 1.364 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/1.233, allocations: 11.28 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.233, allocations: 0 / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of Templates: time 0.002503/1.236, allocations: 0.6339 MB / 1.365 GB, free: 29.94 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches