Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008481/0.0008481, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007977/0.0007977, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.Continuous.Examples.OffTimer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9517 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.2e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001936/0.001958, allocations: 1.482 MB / 0.9531 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005349/0.002493, allocations: 455.4 kB / 0.9536 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.00253, allocations: 7.938 kB / 0.9536 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.002557, allocations: 7.922 kB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.002631, allocations: 0 / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.002776, allocations: 27.84 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.002855, allocations: 51.84 kB / 0.9537 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.002967, allocations: 11.98 kB / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.00303, allocations: 35.91 kB / 0.9537 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.003089, allocations: 15.97 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.003116, allocations: 7.938 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.355e-06/0.003124, allocations: 4 kB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.003145, allocations: 11.98 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.003178, allocations: 11.98 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003278, allocations: 47.8 kB / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00328, allocations: 0 / 0.9538 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003281, allocations: 4 kB / 0.9538 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.003285, allocations: 0 / 0.9538 GB, free: 0.875 MB / 0.9011 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.0003992/0.003684, allocations: 294.2 kB / 0.9541 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.003721, allocations: 12.03 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.003751, allocations: 0.9375 kB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.709e-05/0.003838, allocations: 113.7 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.00385, allocations: 4.375 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.003861, allocations: 8.375 kB / 0.9542 GB, free: 408 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.003952, allocations: 58.23 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.00396, allocations: 192 / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.003969, allocations: 8.312 kB / 0.9543 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003974, allocations: 3.938 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.004021, allocations: 27.92 kB / 0.9543 GB, free: 304 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.004343, allocations: 232.5 kB / 0.9545 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.004438, allocations: 58.7 kB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.004471, allocations: 28.88 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.004481, allocations: 0 / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.00459, allocations: 75.33 kB / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.004592, allocations: 0 / 0.9547 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0001824/0.004774, allocations: 105.6 kB / 0.9548 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.004806, allocations: 55.39 kB / 0.9548 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.004859, allocations: 113.8 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.004873, allocations: 29.7 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.004908, allocations: 92.11 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.004927, allocations: 19.8 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.004958, allocations: 33.7 kB / 0.9551 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.005027, allocations: 314.8 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.005054, allocations: 19.98 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.00509, allocations: 43.42 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.115e-05/0.005151, allocations: 63.38 kB / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005153, allocations: 0 / 0.9555 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.024e-05/0.005243, allocations: 105.5 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005254, allocations: 4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005258, allocations: 0 / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.00527, allocations: 4 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.514e-05/0.005326, allocations: 15.92 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005331, allocations: 0 / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.005365, allocations: 4 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005372, allocations: 8 kB / 0.9557 GB, free: 14.76 MB / 0.9167 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 5.719e-05/0.005429, allocations: 115.6 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.005438, allocations: 19.78 kB / 0.9558 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.005459, allocations: 8.125 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.00546, allocations: 288 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.005464, allocations: 4 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.005467, allocations: 0 / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.005695, allocations: 309.9 kB / 0.9561 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.005697, allocations: 3.984 kB / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.005709, allocations: 8.531 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.005711, allocations: 4 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.005717, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005718, allocations: 4 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005719, allocations: 0 / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005821, allocations: 191.3 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.005828, allocations: 4 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.005838, allocations: 4 kB / 0.9563 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.005879, allocations: 3.984 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.005913, allocations: 11.98 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.005918, allocations: 4 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.005942, allocations: 79.28 kB / 0.9564 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005942, allocations: 0 / 0.9564 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001488/0.006091, allocations: 20 kB / 0.9564 GB, free: 13.92 MB / 0.9167 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 6.397e-05/0.006155, allocations: 102.3 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.398e-05/0.006249, allocations: 51.86 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.00625, allocations: 0 / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.006283, allocations: 23.98 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.00647, allocations: 15.94 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.00674, allocations: 186.4 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.006786, allocations: 79.33 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.00681, allocations: 12.5 kB / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of SimCode: time 3.41e-07/0.006811, allocations: 0 / 0.9569 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.001421/0.008232, allocations: 0.8895 MB / 0.9577 GB, free: 12.51 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.237787336111069]