Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002002/0.002002, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.002674/0.002674, allocations: 210.8 kB / 22.24 MB, free: 4.875 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.313/3.313, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002151/0.002151, allocations: 77.11 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4008, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002866/0.4036, allocations: 1.493 MB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.4045, allocations: 448 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.4045, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.4046, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.527e-05/0.4046, allocations: 23.84 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.4048, allocations: 15.98 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.4049, allocations: 55.78 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.405, allocations: 8 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.405, allocations: 27.92 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.4051, allocations: 15.91 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4051, allocations: 4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.4051, allocations: 4 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.4052, allocations: 15.98 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.4052, allocations: 19.92 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.4053, allocations: 47.73 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4053, allocations: 7.938 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4053, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.4053, allocations: 3.938 kB / 1.366 GB, free: 11.44 MB / 1.061 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.0005406/0.4059, allocations: 287.8 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4059, allocations: 12.03 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.406, allocations: 4.938 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4061, allocations: 110.5 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.4061, allocations: 12.36 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4061, allocations: 8.375 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.4063, allocations: 57.94 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4063, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4063, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4063, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.4063, allocations: 23.98 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.4068, allocations: 240.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4069, allocations: 54.5 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.407, allocations: 20.95 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.407, allocations: 3.984 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4071, allocations: 71.33 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4071, allocations: 3.938 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002421/0.4074, allocations: 101.6 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.4074, allocations: 59.41 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4075, allocations: 113.8 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4076, allocations: 25.7 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.4076, allocations: 88.52 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.4077, allocations: 27.78 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.4077, allocations: 29.7 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4078, allocations: 322.8 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.4079, allocations: 23.94 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.4079, allocations: 43.36 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.408, allocations: 67.36 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4081, allocations: 4 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001474/0.4082, allocations: 97.58 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4082, allocations: 4 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4082, allocations: 3.984 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4082, allocations: 4 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.4083, allocations: 11.94 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4083, allocations: 0 / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.4084, allocations: 7.984 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4084, allocations: 8 kB / 1.368 GB, free: 9.324 MB / 1.061 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.000101/0.4085, allocations: 121.8 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.4085, allocations: 7.953 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4085, allocations: 8.062 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4085, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4085, allocations: 4.062 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4085, allocations: 3.938 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.4089, allocations: 298 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4089, allocations: 0 / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.409, allocations: 7.938 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.409, allocations: 4 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.409, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.409, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.409, allocations: 4 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.4092, allocations: 187.4 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-06/0.4092, allocations: 0 / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4092, allocations: 7.984 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.21e-05/0.4093, allocations: 4.188 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.4093, allocations: 12.27 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4093, allocations: 7.875 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.4094, allocations: 87.25 kB / 1.369 GB, free: 8.496 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4094, allocations: 4 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002352/0.4096, allocations: 19.95 kB / 1.369 GB, free: 8.473 MB / 1.061 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.0001014/0.4097, allocations: 95.25 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.4099, allocations: 55.86 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4099, allocations: 0 / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.4099, allocations: 19.98 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4102, allocations: 18.17 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.4106, allocations: 141.6 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.72e-05/0.4106, allocations: 75.39 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.4107, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4107, allocations: 11.44 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.4107, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of Templates: time 0.003357/0.414, allocations: 0.8265 MB / 1.37 GB, free: 7.195 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.307263635098934]