Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 211.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.47/3.47, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.53 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4281, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002784/0.4309, allocations: 1.482 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.4318, allocations: 444 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.4319, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.4319, allocations: 3.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.432, allocations: 11.94 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.4321, allocations: 27.91 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.4322, allocations: 51.8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.4323, allocations: 11.97 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.4324, allocations: 23.92 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.4325, allocations: 19.92 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4325, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.4325, allocations: 4 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.4326, allocations: 11.98 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.4326, allocations: 15.88 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.4328, allocations: 55.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4328, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4328, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4328, allocations: 4 kB / 1.366 GB, free: 11.46 MB / 1.061 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.000647/0.4334, allocations: 282.2 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4335, allocations: 19.97 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.4335, allocations: 0.9375 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4337, allocations: 110.5 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.4337, allocations: 4.375 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.4337, allocations: 12.31 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4339, allocations: 57.98 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4339, allocations: 3.984 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4339, allocations: 4 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4339, allocations: 3.938 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.434, allocations: 23.98 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.4345, allocations: 240.4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.4347, allocations: 58.53 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.4347, allocations: 20.95 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4347, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.435, allocations: 75.36 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.435, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002904/0.4353, allocations: 105.6 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.4354, allocations: 51.41 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4355, allocations: 113.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4355, allocations: 33.69 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.4356, allocations: 84.14 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4356, allocations: 19.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.4356, allocations: 33.7 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4358, allocations: 318.8 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.4359, allocations: 19.98 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.4359, allocations: 43.42 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4361, allocations: 63.75 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4361, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000177/0.4362, allocations: 101.6 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4362, allocations: 4 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4363, allocations: 3.938 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4363, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.4364, allocations: 15.92 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4364, allocations: 0 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.4364, allocations: 8 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.4364, allocations: 8.062 kB / 1.368 GB, free: 9.359 MB / 1.061 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.0001369/0.4366, allocations: 122 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.4366, allocations: 11.98 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.4366, allocations: 12.05 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4366, allocations: 0 / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4367, allocations: 7.938 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.4367, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.4372, allocations: 310 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4372, allocations: 0 / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.4372, allocations: 4 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.4372, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4372, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4372, allocations: 4 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4372, allocations: 0 / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.4375, allocations: 195.4 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.4375, allocations: 0 / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4375, allocations: 4 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.4376, allocations: 7.984 kB / 1.368 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4376, allocations: 7.984 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4376, allocations: 7.938 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.4377, allocations: 83.28 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4377, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002334/0.4379, allocations: 15.95 kB / 1.369 GB, free: 8.512 MB / 1.061 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.0001749/0.4381, allocations: 103.4 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.4383, allocations: 55.8 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4383, allocations: 0 / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.4384, allocations: 23.98 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4386, allocations: 8 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.4391, allocations: 157.8 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.4392, allocations: 80 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.4393, allocations: 4 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.4393, allocations: 11.44 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4393, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of Templates: time 0.003473/0.4428, allocations: 0.8397 MB / 1.37 GB, free: 7.203 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.64551161788404]