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.001834/0.001834, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001805/0.001805, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.648/2.648, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] 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.002136/0.002136, allocations: 63.91 kB / 0.9515 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.864, allocations: 169.9 MB / 1.117 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00241/0.8664, allocations: 1.5 MB / 1.119 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00073/0.8671, allocations: 450.6 kB / 1.119 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.8672, allocations: 1.094 kB / 1.119 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.8672, allocations: 5.391 kB / 1.119 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.8673, allocations: 6.828 kB / 1.119 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.8674, allocations: 21.28 kB / 1.119 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.8675, allocations: 54.84 kB / 1.119 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8676, allocations: 10.81 kB / 1.119 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.8677, allocations: 22.89 kB / 1.119 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.8678, allocations: 15.44 kB / 1.119 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.8678, allocations: 7.688 kB / 1.119 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.8678, allocations: 4.375 kB / 1.119 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.8678, allocations: 16.95 kB / 1.119 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.8679, allocations: 24.81 kB / 1.12 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.868, allocations: 40.62 kB / 1.12 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.868, allocations: 3.938 kB / 1.12 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.868, allocations: 0 / 1.12 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.868, allocations: 0.9062 kB / 1.12 GB, free: 1.641 MB / 0.9981 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.0004824/0.8685, allocations: 283.2 kB / 1.12 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8685, allocations: 14 kB / 1.12 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.8685, allocations: 7.141 kB / 1.12 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.8686, allocations: 116.1 kB / 1.12 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.8686, allocations: 3.438 kB / 1.12 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.8687, allocations: 7.875 kB / 1.12 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.8688, allocations: 62.75 kB / 1.12 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8688, allocations: 0 / 1.12 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8688, allocations: 1.484 kB / 1.12 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8688, allocations: 0.9062 kB / 1.12 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.8689, allocations: 21.73 kB / 1.12 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.8693, allocations: 253.5 kB / 1.12 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.8694, allocations: 51.45 kB / 1.12 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.8694, allocations: 25.3 kB / 1.12 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.8694, allocations: 1.094 kB / 1.12 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.8696, allocations: 74.11 kB / 1.12 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.8696, allocations: 0.7188 kB / 1.12 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002234/0.8698, allocations: 101.1 kB / 1.121 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.8698, allocations: 59.7 kB / 1.121 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.8699, allocations: 103.3 kB / 1.121 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.8699, allocations: 30.61 kB / 1.121 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.87, allocations: 96.66 kB / 1.121 GB, free: 492 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.87, allocations: 16.59 kB / 1.121 GB, free: 480 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.87, allocations: 29.41 kB / 1.121 GB, free: 456 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.8701, allocations: 319.2 kB / 1.121 GB, free: 132 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.8701, allocations: 19.25 kB / 1.121 GB, free: 124 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.8702, allocations: 48.53 kB / 1.121 GB, free: 80 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.615e-05/0.8702, allocations: 66.55 kB / 1.121 GB, free: 28 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8702, allocations: 0 / 1.121 GB, free: 28 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001607/0.8704, allocations: 106.1 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8704, allocations: 5.469 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.8704, allocations: 1.109 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8704, allocations: 7.156 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.8705, allocations: 8.5 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8705, allocations: 2.812 kB / 1.121 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.8706, allocations: 10.33 kB / 1.121 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.8706, allocations: 11.78 kB / 1.121 GB, free: 15.95 MB / 1.014 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.589e-05/0.8707, allocations: 123.2 kB / 1.122 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.8707, allocations: 10.8 kB / 1.122 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.8707, allocations: 10.16 kB / 1.122 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8707, allocations: 2.375 kB / 1.122 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8707, allocations: 384 / 1.122 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8707, allocations: 0.75 kB / 1.122 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.8711, allocations: 304.4 kB / 1.122 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8711, allocations: 0.7969 kB / 1.122 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.8711, allocations: 4.641 kB / 1.122 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8711, allocations: 0 / 1.122 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.8712, allocations: 5.891 kB / 1.122 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8712, allocations: 4 kB / 1.122 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8712, allocations: 2.078 kB / 1.122 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.8713, allocations: 182.8 kB / 1.122 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.8714, allocations: 7.219 kB / 1.122 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.8714, allocations: 1.609 kB / 1.122 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.8715, allocations: 6.422 kB / 1.122 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.8715, allocations: 11.09 kB / 1.122 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8715, allocations: 7.703 kB / 1.122 GB, free: 15.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.8716, allocations: 80.3 kB / 1.122 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8716, allocations: 0 / 1.122 GB, free: 15.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002365/0.8718, allocations: 15.97 kB / 1.122 GB, free: 15.29 MB / 1.014 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 9.781e-05/0.8719, allocations: 103.8 kB / 1.122 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.872, allocations: 56.7 kB / 1.122 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.872, allocations: 0 / 1.122 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.8721, allocations: 26.69 kB / 1.122 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.8724, allocations: 10.88 kB / 1.122 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.8727, allocations: 143.2 kB / 1.122 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.402e-05/0.8728, allocations: 76.5 kB / 1.123 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.8728, allocations: 9.188 kB / 1.123 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.8728, allocations: 12.77 kB / 1.123 GB, free: 14.95 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.8728, allocations: 1.5 kB / 1.123 GB, free: 14.95 MB / 1.014 GB Notification: Performance of Templates: time 0.003411/0.8762, allocations: 0.8004 MB / 1.123 GB, free: 14.84 MB / 1.014 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 ida -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/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.281526035047136]