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.001619/0.001619, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001537/0.001537, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.522/1.522, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.271/3.271, allocations: 429.6 MB / 0.673 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 4.709e-06/4.709e-06, allocations: 4 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.472e-05, allocations: 7.562 kB / 0.8775 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003018/0.003053, allocations: 1.492 MB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.004066, allocations: 462.2 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.004108, allocations: 0.625 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.004139, allocations: 4.594 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.00422, allocations: 7.922 kB / 0.8795 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.004381, allocations: 21.42 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.004481, allocations: 51.83 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.821e-05/0.00457, allocations: 8 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.004658, allocations: 35.91 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.167e-05/0.004719, allocations: 13.16 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.004741, allocations: 4 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.004754, allocations: 4 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.004777, allocations: 19.3 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.004822, allocations: 15.98 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.004937, allocations: 51.75 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004939, allocations: 0 / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004939, allocations: 0 / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.004943, allocations: 0 / 0.8797 GB, free: 4.41 MB / 0.8386 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.0005305/0.005473, allocations: 278.3 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005512, allocations: 12.03 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.005567, allocations: 17.47 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.005696, allocations: 111.3 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.005707, allocations: 384 / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.005722, allocations: 8.375 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.005852, allocations: 70.16 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.00586, allocations: 192 / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.00587, allocations: 1.875 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.005879, allocations: 7.938 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.005947, allocations: 23.98 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.006465, allocations: 240.4 kB / 0.8804 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.006587, allocations: 50.56 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.006641, allocations: 24.88 kB / 0.8805 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.006655, allocations: 4 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.006848, allocations: 75.36 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.00685, allocations: 0 / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002686/0.007118, allocations: 109.6 kB / 0.8807 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.007176, allocations: 59.39 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007285, allocations: 97.86 kB / 0.8808 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.007313, allocations: 37.7 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.007377, allocations: 88.08 kB / 0.8809 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.007407, allocations: 23.8 kB / 0.881 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.007463, allocations: 29.7 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.007632, allocations: 322.8 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.007671, allocations: 15.98 kB / 0.8813 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.007742, allocations: 47.42 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.00785, allocations: 67.38 kB / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007852, allocations: 0 / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001781/0.00803, allocations: 105.5 kB / 0.8815 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008044, allocations: 4 kB / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008049, allocations: 0 / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.00807, allocations: 4 kB / 0.8815 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.008157, allocations: 12 kB / 0.8815 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.008166, allocations: 3.984 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.00824, allocations: 7.953 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.008249, allocations: 4 kB / 0.8815 GB, free: 2.293 MB / 0.8386 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.0001118/0.008361, allocations: 123.1 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.008387, allocations: 19.95 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.008415, allocations: 12.12 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.008417, allocations: 0 / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.008422, allocations: 0 / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008425, allocations: 0 / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.008875, allocations: 302 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008876, allocations: 0 / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.008906, allocations: 4 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008908, allocations: 0 / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.008921, allocations: 8 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.008922, allocations: 0 / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008923, allocations: 4 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.009151, allocations: 187.4 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.009168, allocations: 7.891 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.009184, allocations: 4 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.00928, allocations: 12.05 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.009329, allocations: 15.86 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.009334, allocations: 4 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.009392, allocations: 79.28 kB / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009392, allocations: 0 / 0.8823 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002475/0.00964, allocations: 16 kB / 0.8823 GB, free: 1.449 MB / 0.8386 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.0001165/0.009757, allocations: 99.23 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.0099, allocations: 51.92 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.009901, allocations: 0 / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.00996, allocations: 27.92 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.01026, allocations: 11.94 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.01071, allocations: 164.5 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.01079, allocations: 75.27 kB / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.01082, allocations: 4 kB / 0.8827 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.01085, allocations: 12.5 kB / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01085, allocations: 0 / 0.8827 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of Templates: time 0.003593/0.01445, allocations: 0.8271 MB / 0.8835 GB, free: 148 kB / 0.8386 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: 8.09921109303832]