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.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.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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.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.363/2.363, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6749, allocations: 140.4 MB / 0.9489 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002824/0.6778, allocations: 1.539 MB / 0.9504 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006528/0.6785, allocations: 441.4 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.6785, allocations: 1.562 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.6786, allocations: 3.938 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.6787, allocations: 3.984 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.6788, allocations: 24.98 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.6789, allocations: 43.97 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.679, allocations: 13.19 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.6791, allocations: 19.33 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.6792, allocations: 29.48 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.6792, allocations: 2.625 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.6792, allocations: 2.781 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.6793, allocations: 10.44 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.6793, allocations: 24.02 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.666e-05/0.6794, allocations: 36.95 kB / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6794, allocations: 0 / 0.951 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6795, allocations: 4 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6795, allocations: 0 / 0.951 GB, free: 7.59 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.000508/0.68, allocations: 368.2 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.68, allocations: 8.438 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.6801, allocations: 3.688 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6802, allocations: 168.3 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6802, allocations: 5.938 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.6802, allocations: 4.562 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.6803, allocations: 67.52 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6803, allocations: 3.938 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.6804, allocations: 1.219 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6804, allocations: 1.375 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.6804, allocations: 26.2 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.6809, allocations: 304.4 kB / 0.952 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.6811, allocations: 58.03 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.6811, allocations: 28.03 kB / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.6811, allocations: 5.672 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.6813, allocations: 72.17 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.6813, allocations: 0 / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000228/0.6816, allocations: 101.8 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.6816, allocations: 56.81 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.688e-05/0.6817, allocations: 108.5 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6817, allocations: 27.42 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.6817, allocations: 93.91 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.6817, allocations: 15.06 kB / 0.9525 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.6818, allocations: 26.8 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.6818, allocations: 320 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.6819, allocations: 17.95 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.6819, allocations: 52.17 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.682, allocations: 63.31 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.682, allocations: 0 / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001286/0.6821, allocations: 97.89 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6822, allocations: 6.125 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.6822, allocations: 5.25 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6822, allocations: 1.25 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.6823, allocations: 16.22 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6823, allocations: 1.5 kB / 0.9531 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.6823, allocations: 13.11 kB / 0.9531 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.6824, allocations: 3.531 kB / 0.9531 GB, free: 5.562 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 6.067e-05/0.6824, allocations: 119.1 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.6824, allocations: 9.188 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.6825, allocations: 21.39 kB / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6825, allocations: 1.375 kB / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6825, allocations: 0 / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6825, allocations: 0 / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.6828, allocations: 359.8 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6828, allocations: 0 / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.6829, allocations: 4.094 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6829, allocations: 1.031 kB / 0.9536 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6829, allocations: 4.938 kB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6829, allocations: 3.938 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6829, allocations: 5.234 kB / 0.9536 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.683, allocations: 179.7 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.6831, allocations: 82.5 kB / 0.9539 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.6831, allocations: 5.609 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.6832, allocations: 6.188 kB / 0.9539 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.6832, allocations: 12.61 kB / 0.9539 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.6832, allocations: 6.594 kB / 0.9539 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.6833, allocations: 82.8 kB / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6833, allocations: 0 / 0.954 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002552/0.6835, allocations: 20.03 kB / 0.954 GB, free: 4.684 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.469e-05/0.6836, allocations: 106.1 kB / 0.9541 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.6838, allocations: 51.39 kB / 0.9541 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6838, allocations: 1.062 kB / 0.9541 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.6838, allocations: 33.27 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.6841, allocations: 9.844 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.6844, allocations: 162.9 kB / 0.9543 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.6845, allocations: 0.6875 MB / 0.955 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.6846, allocations: 8.25 kB / 0.955 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.6846, allocations: 10.06 kB / 0.955 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6846, allocations: 1.375 kB / 0.955 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of Templates: time 0.00278/0.6874, allocations: 0.6877 MB / 0.9557 GB, free: 3.332 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches