Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008893/0.008893, allocations: 96.27 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 198.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.896/2.896, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.12 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003377/0.3461, allocations: 1.495 MB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.347, allocations: 446.8 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.3471, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.3471, allocations: 7.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.157e-05/0.3472, allocations: 3.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3473, allocations: 27.89 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3474, allocations: 43.92 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3476, allocations: 11.98 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.3476, allocations: 23.86 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.3477, allocations: 19.92 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3477, allocations: 7.984 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3477, allocations: 8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.3477, allocations: 15.92 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3478, allocations: 23.92 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3479, allocations: 39.77 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3479, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3479, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3479, allocations: 4 kB / 1.223 GB, free: 11.65 MB / 0.9825 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.0005715/0.3485, allocations: 359.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3485, allocations: 8.031 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.3486, allocations: 8.938 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3487, allocations: 176.2 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3487, allocations: 8.359 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.3487, allocations: 4.375 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3488, allocations: 58 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3488, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3488, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3488, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.3489, allocations: 31.92 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.3496, allocations: 300.8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3497, allocations: 54.59 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.3497, allocations: 24.94 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3498, allocations: 4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3499, allocations: 79.28 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3499, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003213/0.3502, allocations: 101.5 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.3503, allocations: 55.41 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3505, allocations: 105.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3505, allocations: 33.7 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.3506, allocations: 80.14 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.3506, allocations: 23.84 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3506, allocations: 29.72 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3508, allocations: 322.8 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.3508, allocations: 19.94 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.3509, allocations: 43.42 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.351, allocations: 71.53 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.351, allocations: 4 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/0.3511, allocations: 93.56 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3512, allocations: 8 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3512, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3512, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.322e-05/0.3513, allocations: 8 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3513, allocations: 7.938 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.3513, allocations: 19.98 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3513, allocations: 4 kB / 1.225 GB, free: 9.301 MB / 0.9825 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 0.0001033/0.3514, allocations: 122.3 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3515, allocations: 7.953 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.3515, allocations: 7.969 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3515, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3515, allocations: 0 / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3515, allocations: 3.984 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.3519, allocations: 358.8 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3519, allocations: 0 / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.3519, allocations: 12.03 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3519, allocations: 7.875 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.3519, allocations: 4 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3519, allocations: 3.938 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3519, allocations: 0 / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.3521, allocations: 179.4 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3523, allocations: 81.11 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3523, allocations: 4 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.3524, allocations: 15.92 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3524, allocations: 7.984 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3524, allocations: 0 / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.3524, allocations: 83.38 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3524, allocations: 4 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002286/0.3527, allocations: 19.89 kB / 1.226 GB, free: 8.289 MB / 0.9825 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 0.0001784/0.3529, allocations: 107.4 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.353, allocations: 55.92 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.353, allocations: 0 / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.3531, allocations: 23.94 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3533, allocations: 18.02 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.3538, allocations: 145.3 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.3542, allocations: 0.6861 MB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3543, allocations: 12.27 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.3543, allocations: 15.44 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3543, allocations: 0 / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.003253/0.3575, allocations: 0.7867 MB / 1.227 GB, free: 6.398 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches