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.001348/0.001348, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001449/0.001449, allocations: 220.4 kB / 22.99 MB, free: 4.914 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.388/3.388, allocations: 0.5107 GB / 0.8166 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.002068/0.002068, allocations: 73.56 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002938/0.3233, allocations: 1.486 MB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.3242, allocations: 440 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.3242, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.3243, allocations: 3.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.3244, allocations: 15.92 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.3245, allocations: 31.86 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.3246, allocations: 51.84 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.3247, allocations: 7.984 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.3248, allocations: 23.92 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.104e-05/0.3248, allocations: 15.92 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3248, allocations: 7.938 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.3249, allocations: 8 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3249, allocations: 7.984 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3249, allocations: 19.92 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.325, allocations: 51.75 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.325, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.325, allocations: 0 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3251, allocations: 0 / 1.367 GB, free: 11.43 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.0005077/0.3256, allocations: 286.1 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3256, allocations: 12.03 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3256, allocations: 4.938 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3258, allocations: 106.5 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3258, allocations: 12.36 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3258, allocations: 4.375 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.3259, allocations: 58 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3259, allocations: 7.938 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3259, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3259, allocations: 0 / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.676e-05/0.326, allocations: 23.98 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.3264, allocations: 236.4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3266, allocations: 54.59 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.3266, allocations: 20.95 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3266, allocations: 3.984 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.3268, allocations: 75.38 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3268, allocations: 4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.000252/0.327, allocations: 105.5 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3271, allocations: 55.34 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.3272, allocations: 113.8 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3272, allocations: 29.7 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.3273, allocations: 84.14 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3273, allocations: 23.8 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3273, allocations: 29.7 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3275, allocations: 322.8 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.3275, allocations: 23.94 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.3276, allocations: 43.42 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.3277, allocations: 71.36 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3277, allocations: 4 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001466/0.3278, allocations: 89.58 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3279, allocations: 6.031 kB / 1.369 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3279, allocations: 3.984 kB / 1.369 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3279, allocations: 4 kB / 1.369 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.3279, allocations: 11.94 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3279, allocations: 4.016 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.328, allocations: 15.98 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.328, allocations: 4 kB / 1.369 GB, free: 9.32 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 9.582e-05/0.3281, allocations: 122.9 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.3281, allocations: 3.953 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.3282, allocations: 8.062 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3282, allocations: 4 kB / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3282, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3282, allocations: 0 / 1.369 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3286, allocations: 314 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3286, allocations: 0 / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.3286, allocations: 4.469 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3286, allocations: 0 / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3286, allocations: 0 / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3286, allocations: 4 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3286, allocations: 0 / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3288, allocations: 195.3 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.3288, allocations: 4 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3288, allocations: 4.266 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.3289, allocations: 8 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.329, allocations: 11.98 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.329, allocations: 8 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.329, allocations: 95.19 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.329, allocations: 0 / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000242/0.3293, allocations: 15.95 kB / 1.369 GB, free: 8.465 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 9.676e-05/0.3294, allocations: 99.25 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.3295, allocations: 47.86 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3295, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.3296, allocations: 27.98 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3298, allocations: 16.05 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3302, allocations: 179.2 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.3303, allocations: 71.34 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3303, allocations: 11.44 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3303, allocations: 0 / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of Templates: time 0.00243/0.3328, allocations: 0.8777 MB / 1.371 GB, free: 7.086 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/jenkins1/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: 11.199960913974792]