Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001694/0.001694, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002011/0.002011, allocations: 72.91 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3795, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002765/0.3823, allocations: 1.485 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/0.3832, allocations: 446.9 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.3832, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.3832, allocations: 7.922 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.3833, allocations: 11.94 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.3835, allocations: 19.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.3836, allocations: 55.89 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3837, allocations: 11.98 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.3837, allocations: 23.88 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3838, allocations: 19.91 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3838, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.3838, allocations: 4 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3839, allocations: 15.92 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.3839, allocations: 23.92 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.384, allocations: 39.83 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.384, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.384, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.384, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 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.0005205/0.3846, allocations: 278.2 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3846, allocations: 19.95 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3846, allocations: 4.891 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3848, allocations: 118.4 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3848, allocations: 8.375 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3848, allocations: 8.375 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3849, allocations: 57.98 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3849, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3849, allocations: 4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.385, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.385, allocations: 27.92 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.3855, allocations: 240.4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3856, allocations: 50.59 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.3857, allocations: 28.94 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.3857, allocations: 4 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.3858, allocations: 67.39 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3858, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000243/0.3861, allocations: 105.6 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3861, allocations: 51.41 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.3862, allocations: 109.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3862, allocations: 25.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3863, allocations: 96.08 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3863, allocations: 19.84 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.3864, allocations: 26.08 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3865, allocations: 326.7 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.3866, allocations: 19.98 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.3866, allocations: 43.42 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3867, allocations: 67.31 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3867, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001753/0.3869, allocations: 101.7 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3869, allocations: 5.562 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3869, allocations: 3.938 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3869, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.387, allocations: 19.97 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.387, allocations: 3.984 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.3871, allocations: 7.953 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3871, allocations: 4 kB / 1.331 GB, free: 12.72 MB / 1.029 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.916e-05/0.3872, allocations: 119.4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.3872, allocations: 8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.3873, allocations: 8.047 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3873, allocations: 4.062 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3873, allocations: 4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.3873, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.3877, allocations: 310 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3877, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.3877, allocations: 11.92 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3877, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3877, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3877, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3877, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.3879, allocations: 191.4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.3879, allocations: 3.953 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3879, allocations: 8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.388, allocations: 11.98 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.388, allocations: 3.984 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.388, allocations: 8.125 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.3881, allocations: 83.28 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3881, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002277/0.3883, allocations: 16 kB / 1.332 GB, free: 11.88 MB / 1.029 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.608e-05/0.3884, allocations: 105.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3886, allocations: 47.92 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3886, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.3886, allocations: 24 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3889, allocations: 11.98 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.3893, allocations: 149.6 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.3893, allocations: 75.23 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.3894, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.3894, allocations: 15.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3894, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of Templates: time 0.003363/0.3927, allocations: 0.8564 MB / 1.333 GB, free: 10.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.984911532956176]