Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009354/0.0009355, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008529/0.0008528, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003915, allocations: 8.281 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.827, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001631/0.8287, allocations: 1.196 MB / 0.9569 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.8294, allocations: 443.8 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.8294, allocations: 1.125 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.8294, allocations: 0 / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.8296, allocations: 5.219 kB / 0.9573 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.8297, allocations: 19.98 kB / 0.9573 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.147e-05/0.8298, allocations: 47.69 kB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8299, allocations: 16.92 kB / 0.9574 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.83, allocations: 19.86 kB / 0.9574 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.246e-05/0.83, allocations: 17.02 kB / 0.9574 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.8301, allocations: 6.281 kB / 0.9574 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.8301, allocations: 1.938 kB / 0.9574 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.8301, allocations: 14.02 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.8302, allocations: 40.48 kB / 0.9575 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.801e-05/0.8302, allocations: 31.27 kB / 0.9575 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8302, allocations: 0 / 0.9575 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8302, allocations: 0 / 0.9575 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.8303, allocations: 4 kB / 0.9575 GB, free: 6.246 MB / 0.7169 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.0004564/0.8307, allocations: 352.6 kB / 0.9578 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8308, allocations: 8.875 kB / 0.9578 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.8308, allocations: 7.344 kB / 0.9579 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.8309, allocations: 171.4 kB / 0.958 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.8309, allocations: 6.562 kB / 0.958 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.831, allocations: 9 kB / 0.958 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.8311, allocations: 59.86 kB / 0.9581 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.8311, allocations: 3.938 kB / 0.9581 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.8311, allocations: 0 / 0.9581 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8311, allocations: 1.125 kB / 0.9581 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.8312, allocations: 30.95 kB / 0.9581 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.8317, allocations: 306 kB / 0.9584 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.8318, allocations: 57.44 kB / 0.9585 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.8318, allocations: 28.66 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.8318, allocations: 1.094 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.832, allocations: 80.83 kB / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.832, allocations: 0 / 0.9586 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002364/0.8323, allocations: 101.7 kB / 0.9587 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.8323, allocations: 56.7 kB / 0.9587 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.8324, allocations: 100.5 kB / 0.9588 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.8324, allocations: 35.67 kB / 0.9589 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.8324, allocations: 89.16 kB / 0.9589 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.8325, allocations: 20.11 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.8325, allocations: 22.02 kB / 0.959 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.427e-05/0.8325, allocations: 323.9 kB / 0.9593 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.8326, allocations: 17.64 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.8326, allocations: 44.92 kB / 0.9594 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.565e-05/0.8327, allocations: 67.12 kB / 0.9594 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8327, allocations: 0 / 0.9594 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001336/0.8329, allocations: 98.8 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8329, allocations: 4.938 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8329, allocations: 1.281 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8329, allocations: 1.312 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.833, allocations: 16.5 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.833, allocations: 1.438 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.8331, allocations: 14.95 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.8331, allocations: 2.719 kB / 0.9596 GB, free: 4.23 MB / 0.7169 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 7.19e-05/0.8332, allocations: 128.1 kB / 0.9597 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.8332, allocations: 7.5 kB / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.8332, allocations: 11.95 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8332, allocations: 1.656 kB / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.8332, allocations: 0 / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8333, allocations: 0 / 0.9597 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.8336, allocations: 363.5 kB / 0.96 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8336, allocations: 5.188 kB / 0.96 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.8336, allocations: 3.062 kB / 0.96 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.8337, allocations: 1.562 kB / 0.96 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.8337, allocations: 0 / 0.96 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.8337, allocations: 5.5 kB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8337, allocations: 3.984 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.8338, allocations: 183.8 kB / 0.9602 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.8339, allocations: 82.3 kB / 0.9603 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.8339, allocations: 5.141 kB / 0.9603 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.834, allocations: 13.7 kB / 0.9603 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.834, allocations: 11.67 kB / 0.9603 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.834, allocations: 2.875 kB / 0.9603 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.8341, allocations: 82.86 kB / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8341, allocations: 0 / 0.9604 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002334/0.8343, allocations: 16 kB / 0.9604 GB, free: 3.355 MB / 0.7169 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 9.211e-05/0.8344, allocations: 99.28 kB / 0.9605 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.8346, allocations: 62.08 kB / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.8346, allocations: 0 / 0.9606 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.8346, allocations: 24.14 kB / 0.9606 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.8349, allocations: 9.406 kB / 0.9606 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.8353, allocations: 198.3 kB / 0.9608 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.8354, allocations: 0.6882 MB / 0.9615 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.8354, allocations: 11.88 kB / 0.9615 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8354, allocations: 0 / 0.9615 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.002196/0.8376, allocations: 0.8507 MB / 0.9623 GB, free: 1.887 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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