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.0007915/0.0007915, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008137/0.0008137, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8688/0.8688, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.741/1.741, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.905e-05, allocations: 6.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001794/0.001813, allocations: 1.49 MB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.002429, allocations: 463.5 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.00247, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.002501, allocations: 7.922 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.002579, allocations: 7.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.002703, allocations: 15.97 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.002777, allocations: 51.84 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.002877, allocations: 15.92 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.002937, allocations: 31.91 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.002992, allocations: 19.91 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.003016, allocations: 8 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.003025, allocations: 4 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.003042, allocations: 8 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.003078, allocations: 23.91 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.419e-05/0.003172, allocations: 43.88 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.634e-06/0.003174, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003175, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003179, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 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.0003914/0.00357, allocations: 278.3 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.003606, allocations: 13.34 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.003639, allocations: 12.89 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.003728, allocations: 113.7 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.003742, allocations: 12.31 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.003757, allocations: 4.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.003854, allocations: 62.17 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.003862, allocations: 192 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.003871, allocations: 384 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.003877, allocations: 3.938 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.003931, allocations: 27.98 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.004268, allocations: 236.4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.004349, allocations: 46.58 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.004382, allocations: 36.81 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.004391, allocations: 0 / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.004501, allocations: 75.41 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.004502, allocations: 4 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0001778/0.00468, allocations: 97.58 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.004714, allocations: 55.39 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.704e-05/0.004771, allocations: 101.9 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.004784, allocations: 29.7 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.00482, allocations: 92.12 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.004843, allocations: 27.78 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.004875, allocations: 29.7 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.004948, allocations: 314.8 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.004972, allocations: 19.98 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.00501, allocations: 47.36 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.325e-05/0.005074, allocations: 63.61 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.005076, allocations: 4 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.433e-05/0.005171, allocations: 101.4 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005182, allocations: 4 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005186, allocations: 4.031 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005197, allocations: 4 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.00525, allocations: 11.98 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005256, allocations: 7.922 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.005294, allocations: 8 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.005299, allocations: 4 kB / 1.005 GB, free: 8.742 MB / 0.9636 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 5.792e-05/0.005357, allocations: 121.8 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.005366, allocations: 11.88 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.005387, allocations: 8.188 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.00539, allocations: 8 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.005393, allocations: 4.375 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.005396, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.005633, allocations: 302 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.005634, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.005647, allocations: 4 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.005648, allocations: 0 / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.005656, allocations: 0 / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.005658, allocations: 4 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005659, allocations: 0 / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.005761, allocations: 187.4 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.00577, allocations: 15.89 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.00578, allocations: 0 / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.005824, allocations: 11.98 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.005859, allocations: 11.92 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.005862, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.00589, allocations: 83.28 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.00589, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001493/0.006039, allocations: 12 kB / 1.006 GB, free: 7.906 MB / 0.9636 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 6.552e-05/0.006104, allocations: 103.2 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.0062, allocations: 52.25 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.006201, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.006237, allocations: 27.92 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006422, allocations: 14.27 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.006659, allocations: 170.8 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.006702, allocations: 75.33 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.006728, allocations: 16.44 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of SimCode: time 2.7e-07/0.006729, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.001456/0.008184, allocations: 0.8935 MB / 1.007 GB, free: 6.508 MB / 0.9636 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] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 6.371357956901193]