Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001207/0.001207, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 67.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.964, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002707/0.9667, allocations: 1.465 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.9675, allocations: 441.9 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.9675, allocations: 1.375 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.9676, allocations: 5.062 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.9677, allocations: 10.39 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.9679, allocations: 25.06 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.968, allocations: 51.09 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.9681, allocations: 12.31 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.9682, allocations: 26.42 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.9682, allocations: 22.84 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.9683, allocations: 3.969 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.9683, allocations: 4.375 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.9683, allocations: 13.5 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.9684, allocations: 24.83 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.9685, allocations: 41 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.9685, allocations: 0 / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9685, allocations: 0.9375 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9685, allocations: 0 / 1.091 GB, free: 4.078 MB / 0.8575 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.0005064/0.969, allocations: 365.2 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.9691, allocations: 12.62 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.9691, allocations: 4.969 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.9693, allocations: 177.4 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9693, allocations: 8.266 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.9693, allocations: 3.531 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.9694, allocations: 59.34 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.9694, allocations: 0 / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9695, allocations: 0.5625 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9695, allocations: 6.062 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.9695, allocations: 29.69 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.97, allocations: 299.5 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.9701, allocations: 57.5 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.9702, allocations: 30.66 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.9702, allocations: 5.875 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.9704, allocations: 69.83 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.9704, allocations: 3.984 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002325/0.9706, allocations: 97.91 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.9707, allocations: 53.3 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.9707, allocations: 106.9 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.9707, allocations: 31.47 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.9708, allocations: 87.23 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.9708, allocations: 25.8 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.9709, allocations: 28.48 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.9709, allocations: 325.8 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.971, allocations: 16.23 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.971, allocations: 44.16 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.9711, allocations: 73.3 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9711, allocations: 0 / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001345/0.9712, allocations: 89.89 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.9713, allocations: 5.906 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9713, allocations: 0.75 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9713, allocations: 5.719 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.9714, allocations: 14 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.9714, allocations: 1.625 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.9715, allocations: 22.88 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9715, allocations: 3.125 kB / 1.093 GB, free: 2.145 MB / 0.8575 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.046e-05/0.9716, allocations: 122.2 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.9716, allocations: 1.781 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.9716, allocations: 9.5 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9716, allocations: 2.031 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.9716, allocations: 0.9375 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9716, allocations: 0 / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.972, allocations: 360.4 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.972, allocations: 0.6875 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.9721, allocations: 12.47 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9721, allocations: 0.7188 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.9721, allocations: 1.25 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9721, allocations: 4.688 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9721, allocations: 5.484 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.9722, allocations: 181.8 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.9723, allocations: 83.78 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.9723, allocations: 2.016 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.9724, allocations: 13.8 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.9724, allocations: 11.66 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.9724, allocations: 2.453 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.9725, allocations: 80.23 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9725, allocations: 4.625 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002337/0.9727, allocations: 16.11 kB / 1.094 GB, free: 1.316 MB / 0.8575 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 8.834e-05/0.9728, allocations: 101.2 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.973, allocations: 54.28 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.973, allocations: 0.8125 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.973, allocations: 27.31 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.9733, allocations: 13.75 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.9737, allocations: 190 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.9739, allocations: 0.6858 MB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.9739, allocations: 11.31 kB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of SimCode: time 1.243e-06/0.9739, allocations: 0 / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of Templates: time 0.002767/0.9767, allocations: 0.8767 MB / 1.096 GB, free: 264 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches