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.001524/0.001524, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001727/0.001727, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002082/0.002082, allocations: 67.84 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2938, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.00282/0.2966, allocations: 1.496 MB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2974, allocations: 480.5 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.2975, allocations: 0 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.2975, allocations: 11.86 kB / 1.287 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.2976, allocations: 15.94 kB / 1.287 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2978, allocations: 19.91 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.2979, allocations: 51.84 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.298, allocations: 15.92 kB / 1.287 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.298, allocations: 23.88 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.2981, allocations: 19.91 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.2981, allocations: 4 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2981, allocations: 4 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2981, allocations: 15.98 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.2982, allocations: 27.86 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2983, allocations: 35.89 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2983, allocations: 3.984 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2983, allocations: 4 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2983, allocations: 0 / 1.287 GB, free: 9.047 MB / 0.9825 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.0004968/0.2988, allocations: 282.2 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2988, allocations: 16.02 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2989, allocations: 4.891 kB / 1.287 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.299, allocations: 110.5 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.299, allocations: 12.38 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.299, allocations: 8.312 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.2992, allocations: 57.98 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2992, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2992, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2992, allocations: 4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.2992, allocations: 23.98 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.2998, allocations: 279.7 kB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2999, allocations: 50.56 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.2999, allocations: 24.94 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2999, allocations: 0 / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3001, allocations: 71.42 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3001, allocations: 3.938 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002454/0.3003, allocations: 109.6 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3004, allocations: 55.41 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.3005, allocations: 105.8 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3005, allocations: 29.7 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.3006, allocations: 88.03 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.3006, allocations: 19.89 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3006, allocations: 25.72 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3008, allocations: 326.8 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.3008, allocations: 16 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.3009, allocations: 47.42 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.301, allocations: 67.36 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.301, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001538/0.3012, allocations: 105.7 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3012, allocations: 8.031 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3012, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3012, allocations: 4.047 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.63e-05/0.3013, allocations: 11.98 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3013, allocations: 0 / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.3014, allocations: 15.94 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3014, allocations: 4 kB / 1.289 GB, free: 6.891 MB / 0.9825 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.0001005/0.3015, allocations: 121.7 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.3015, allocations: 4 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.3015, allocations: 12.06 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3015, allocations: 7.984 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3015, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3015, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.302, allocations: 333.8 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.302, allocations: 0 / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.302, allocations: 4 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.302, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.302, allocations: 4.094 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.302, allocations: 15.88 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.302, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3022, allocations: 175.5 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.3022, allocations: 7.953 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3022, allocations: 4.062 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.3023, allocations: 11.92 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3024, allocations: 7.984 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3024, allocations: 15.94 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.3024, allocations: 79.28 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3024, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002348/0.3027, allocations: 19.98 kB / 1.289 GB, free: 6.004 MB / 0.9825 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.708e-05/0.3028, allocations: 94.77 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.3029, allocations: 51.92 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3029, allocations: 0 / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.303, allocations: 27.92 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3032, allocations: 14.25 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.3037, allocations: 191.2 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.304, allocations: 0.6884 MB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.3041, allocations: 15.44 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3041, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.002455/0.3065, allocations: 0.8697 MB / 1.291 GB, free: 4.004 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.342148234019987]