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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001406/0.001406, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 13.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.755/2.755, allocations: 482.2 MB / 0.7548 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 73.23 kB / 0.9238 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9244/0.9265, allocations: 162.2 MB / 1.082 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003308/0.9298, allocations: 1.531 MB / 1.084 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.9307, allocations: 442.7 kB / 1.084 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.9308, allocations: 5.344 kB / 1.084 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.9309, allocations: 1.406 kB / 1.084 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.931, allocations: 9.141 kB / 1.084 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.9311, allocations: 16.33 kB / 1.084 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.9312, allocations: 50.5 kB / 1.084 GB, free: 308 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.9313, allocations: 12.02 kB / 1.084 GB, free: 304 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.9314, allocations: 22.56 kB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.9315, allocations: 22.05 kB / 1.084 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.9315, allocations: 4.969 kB / 1.084 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.9315, allocations: 7.719 kB / 1.084 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.9315, allocations: 13.94 kB / 1.084 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.9316, allocations: 21.97 kB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.073e-05/0.9317, allocations: 30.28 kB / 1.084 GB, free: 244 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9317, allocations: 0.625 kB / 1.084 GB, free: 244 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9317, allocations: 0.9375 kB / 1.084 GB, free: 244 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.9317, allocations: 0 / 1.084 GB, free: 244 kB / 0.8262 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.000516/0.9322, allocations: 360.1 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.9323, allocations: 12.22 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.9323, allocations: 8.703 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.9325, allocations: 172.2 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.9325, allocations: 7.312 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.9325, allocations: 5.344 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.9327, allocations: 58.19 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9327, allocations: 3.984 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.9327, allocations: 0.5625 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9327, allocations: 2.359 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.9328, allocations: 29.81 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.9334, allocations: 303.3 kB / 1.085 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.9335, allocations: 58.48 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.9336, allocations: 30.7 kB / 1.085 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.9336, allocations: 0.8906 kB / 1.085 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.9339, allocations: 77.17 kB / 1.085 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.9339, allocations: 0 / 1.085 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0003416/0.9343, allocations: 96.78 kB / 1.085 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.9343, allocations: 55.27 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.9344, allocations: 106.7 kB / 1.086 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.9345, allocations: 32.2 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.9346, allocations: 90.67 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.9346, allocations: 20.8 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.9347, allocations: 27.83 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9348, allocations: 323.9 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.9349, allocations: 19.33 kB / 1.086 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.935, allocations: 47.52 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.9351, allocations: 69.73 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9351, allocations: 0 / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000181/0.9353, allocations: 90.06 kB / 1.086 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.9353, allocations: 5.344 kB / 1.086 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.9353, allocations: 1.062 kB / 1.086 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.9354, allocations: 2.312 kB / 1.086 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.9355, allocations: 13.34 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.9355, allocations: 5.75 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.9356, allocations: 18.91 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.9356, allocations: 4.281 kB / 1.086 GB, free: 14.31 MB / 0.8419 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.0001207/0.9357, allocations: 118.6 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.9357, allocations: 7.188 kB / 1.086 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.9358, allocations: 9.25 kB / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9358, allocations: 1.125 kB / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9358, allocations: 1.672 kB / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9358, allocations: 0 / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.9363, allocations: 369.7 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.9363, allocations: 0 / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.9364, allocations: 9.109 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.9364, allocations: 0 / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.9364, allocations: 5.984 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.9364, allocations: 7.922 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9364, allocations: 2.141 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.9366, allocations: 182.1 kB / 1.087 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.9367, allocations: 82.66 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.9367, allocations: 2.203 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.9368, allocations: 9.266 kB / 1.087 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.9369, allocations: 11.91 kB / 1.087 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.9369, allocations: 6.094 kB / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.9369, allocations: 80.84 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9369, allocations: 0 / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002481/0.9372, allocations: 15.94 kB / 1.087 GB, free: 13.48 MB / 0.8419 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.0001275/0.9373, allocations: 101.3 kB / 1.087 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.9375, allocations: 58.73 kB / 1.087 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9375, allocations: 0.5 kB / 1.087 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.9376, allocations: 28.14 kB / 1.087 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.9379, allocations: 6.891 kB / 1.087 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.9384, allocations: 188.4 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.9388, allocations: 0.6885 MB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.9388, allocations: 15.59 kB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.9388, allocations: 0 / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.003077/0.9419, allocations: 0.8547 MB / 1.089 GB, free: 12.41 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time