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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 67.89 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8031, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002802/0.8059, allocations: 1.481 MB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.8067, allocations: 456.4 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.8067, allocations: 0 / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.8068, allocations: 7.922 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.8069, allocations: 11.92 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.807, allocations: 23.92 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.8071, allocations: 51.84 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.8073, allocations: 11.98 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.8073, allocations: 23.94 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.8074, allocations: 23.89 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.8074, allocations: 4 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.8074, allocations: 4 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.8075, allocations: 19.92 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.8075, allocations: 11.94 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.8076, allocations: 54.47 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8076, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8076, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8076, allocations: 0 / 1.276 GB, free: 2.375 MB / 0.9669 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.0005737/0.8082, allocations: 371.3 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.8083, allocations: 8.031 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.8083, allocations: 12.88 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.8085, allocations: 164.3 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8085, allocations: 4.375 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.8085, allocations: 12.31 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.8086, allocations: 61.97 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8086, allocations: 0 / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.8086, allocations: 4 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8087, allocations: 4 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.8087, allocations: 27.92 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.8092, allocations: 300.7 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.8094, allocations: 54.59 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.8094, allocations: 16.95 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.8094, allocations: 4 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.8096, allocations: 79.33 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.8096, allocations: 0 / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002565/0.8098, allocations: 97.61 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.8099, allocations: 51.41 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.81, allocations: 117.7 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.81, allocations: 25.7 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.8101, allocations: 96.08 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.8101, allocations: 19.84 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.8102, allocations: 33.7 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8103, allocations: 314.8 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.8103, allocations: 19.92 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.8104, allocations: 47.42 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.8105, allocations: 71.73 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.8105, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001499/0.8107, allocations: 93.58 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8107, allocations: 5.875 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8107, allocations: 7.938 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8107, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.8108, allocations: 15.92 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8108, allocations: 0 / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.8108, allocations: 12.03 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.8109, allocations: 64 / 1.278 GB, free: 20 kB / 0.9669 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.0001404/0.811, allocations: 140 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.811, allocations: 7.953 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.811, allocations: 7.969 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.811, allocations: 4 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.811, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.811, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.8115, allocations: 358.4 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8115, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.8115, allocations: 7.984 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8115, allocations: 0 / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8115, allocations: 4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.8115, allocations: 3.938 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8115, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.8117, allocations: 187.4 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.8118, allocations: 77.11 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.8118, allocations: 4 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.8119, allocations: 11.92 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.8119, allocations: 8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.812, allocations: 3.984 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.812, allocations: 83.28 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.812, allocations: 3.938 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.8123, allocations: 15.95 kB / 1.279 GB, free: 15.01 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.0001158/0.8124, allocations: 106.6 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.8125, allocations: 59.78 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8125, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.8126, allocations: 20 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.8129, allocations: 11.98 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.8132, allocations: 153.2 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.8135, allocations: 0.6924 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.718e-05/0.8136, allocations: 7.984 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.8136, allocations: 11.44 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.8136, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.003424/0.817, allocations: 0.8062 MB / 1.281 GB, free: 13.09 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.685288662090898]