Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001922/0.001922, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002575/0.002575, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.832 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.27/3.27, allocations: 0.4892 GB / 0.7943 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [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.002138/0.002138, allocations: 65.11 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002991/0.3705, allocations: 1.501 MB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.3715, allocations: 447 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.3715, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.3715, allocations: 3.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.3716, allocations: 11.86 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.3717, allocations: 19.98 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.413e-05/0.3718, allocations: 59.83 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.3719, allocations: 12 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.372, allocations: 19.81 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.372, allocations: 15.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3721, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3721, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.3721, allocations: 15.92 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.3721, allocations: 19.92 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3723, allocations: 51.69 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3723, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3723, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.3723, allocations: 4 kB / 1.328 GB, free: 15.71 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.0004956/0.3728, allocations: 286.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3728, allocations: 8.031 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.3728, allocations: 8.891 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.373, allocations: 110.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.373, allocations: 4.375 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.373, allocations: 8.359 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3731, allocations: 57.94 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3731, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3731, allocations: 8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3731, allocations: 4 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.3732, allocations: 19.98 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.3737, allocations: 248.3 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3738, allocations: 50.62 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.3738, allocations: 16.89 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.3739, allocations: 4 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.374, allocations: 75.41 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.374, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002876/0.3743, allocations: 105.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3744, allocations: 55.41 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.3744, allocations: 113.8 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.3745, allocations: 25.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3745, allocations: 88.09 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3746, allocations: 23.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3746, allocations: 29.7 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.3748, allocations: 322.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.3749, allocations: 15.98 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.3749, allocations: 51.36 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-05/0.375, allocations: 71.36 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.375, allocations: 0 / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000223/0.3753, allocations: 93.56 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3753, allocations: 8 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3753, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3753, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.3754, allocations: 11.98 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3754, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.3754, allocations: 12.02 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3755, allocations: 8.031 kB / 1.329 GB, free: 13.6 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.77e-05/0.3755, allocations: 131.2 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.3756, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3756, allocations: 8.062 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3756, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3756, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3756, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.376, allocations: 306 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.376, allocations: 4.469 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.376, allocations: 4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.376, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.376, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.376, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.376, allocations: 3.938 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.3762, allocations: 187.4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.3762, allocations: 7.953 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3762, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.3763, allocations: 7.984 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3764, allocations: 8.266 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3764, allocations: 11.94 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.3764, allocations: 91.25 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002327/0.3767, allocations: 16 kB / 1.33 GB, free: 12.75 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 0.0001007/0.3768, allocations: 105 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3769, allocations: 47.92 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3769, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.3769, allocations: 19.98 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3772, allocations: 17.66 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.3775, allocations: 137.7 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.304e-05/0.3776, allocations: 71.33 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.3776, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3777, allocations: 11.44 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3777, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Templates: time 0.003437/0.3811, allocations: 0.8323 MB / 1.331 GB, free: 11.48 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.242124173790216]