Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001593/0.001593, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002238/0.002238, allocations: 215.4 kB / 22.25 MB, free: 5.117 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.781 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.899/2.899, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] 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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_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_11_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.002086/0.002086, allocations: 67.08 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00307/0.3442, allocations: 1.506 MB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.3451, allocations: 448.7 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.3452, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.3452, allocations: 7.922 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.3453, allocations: 7.922 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.3454, allocations: 23.92 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3455, allocations: 51.84 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3456, allocations: 8 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.3457, allocations: 27.91 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.3458, allocations: 19.91 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3458, allocations: 4 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3458, allocations: 4 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.3458, allocations: 11.94 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.3459, allocations: 19.92 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.346, allocations: 43.81 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.346, allocations: 0 / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.346, allocations: 4 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.346, allocations: 0 / 1.285 GB, free: 9.797 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.0005449/0.3466, allocations: 286.2 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3466, allocations: 11.97 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3466, allocations: 8.891 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3468, allocations: 110.5 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3468, allocations: 4.375 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3468, allocations: 8.312 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.347, allocations: 65.92 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.347, allocations: 4 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.347, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.347, allocations: 7.938 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.3471, allocations: 23.98 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.3476, allocations: 236.4 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3477, allocations: 54.59 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.38e-05/0.3477, allocations: 28.92 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3478, allocations: 4 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.348, allocations: 71.39 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.348, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002603/0.3482, allocations: 101.6 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3483, allocations: 55.41 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3484, allocations: 109.8 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3484, allocations: 29.7 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.3485, allocations: 92.03 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3485, allocations: 27.81 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.3485, allocations: 21.72 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3487, allocations: 326.8 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.3487, allocations: 12 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.3488, allocations: 55.36 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3489, allocations: 67.36 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3489, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000164/0.3491, allocations: 93.56 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3491, allocations: 8 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3491, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3491, allocations: 384 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.3492, allocations: 19.88 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3492, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.3493, allocations: 12.02 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3493, allocations: 7.938 kB / 1.287 GB, free: 7.672 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.0001097/0.3494, allocations: 120.6 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.3494, allocations: 7.953 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3495, allocations: 8.062 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3495, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.3495, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.3495, allocations: 3.984 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.3499, allocations: 306 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3499, allocations: 4 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.35, allocations: 4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.35, allocations: 4.281 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.35, allocations: 4.047 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.35, allocations: 4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.35, allocations: 0 / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3502, allocations: 183.4 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.3502, allocations: 11.94 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3502, allocations: 4 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.3503, allocations: 4 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.3503, allocations: 11.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3504, allocations: 11.92 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.3504, allocations: 83.28 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3504, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.3507, allocations: 16 kB / 1.288 GB, free: 6.832 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 0.0001305/0.3508, allocations: 95.25 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.351, allocations: 55.84 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.351, allocations: 192 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.351, allocations: 23.94 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.3513, allocations: 18.23 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.3518, allocations: 149.6 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.3518, allocations: 72.59 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.3519, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.3519, allocations: 15.42 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3519, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.003775/0.3557, allocations: 0.8246 MB / 1.289 GB, free: 5.555 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.101221168413758]