Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001542/0.001542, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.001589/0.001589, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437.1 MB / 0.7178 GB, free: 4.805 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 151.6 MB / 1.176 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002848/0.3472, allocations: 1.474 MB / 1.177 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.348, allocations: 442.9 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.3481, allocations: 7.938 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.3481, allocations: 3.938 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.3482, allocations: 3.938 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.3484, allocations: 27.91 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.3485, allocations: 47.91 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3486, allocations: 15.98 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.3487, allocations: 27.86 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.3487, allocations: 19.92 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3488, allocations: 4 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.3488, allocations: 4 kB / 1.178 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.3488, allocations: 15.91 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.3489, allocations: 23.92 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.349, allocations: 47.75 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.349, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.349, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.349, allocations: 0 / 1.178 GB, free: 3.793 MB / 0.92 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.0005726/0.3496, allocations: 375.3 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3496, allocations: 8.031 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.3497, allocations: 8.938 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3499, allocations: 168.3 kB / 1.178 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3499, allocations: 4.375 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3499, allocations: 8.375 kB / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.35, allocations: 57.98 kB / 1.179 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.35, allocations: 0 / 1.179 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3501, allocations: 8 kB / 1.179 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3501, allocations: 0 / 1.179 GB, free: 3.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.3501, allocations: 23.92 kB / 1.179 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.3507, allocations: 304.8 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3508, allocations: 54.59 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.3508, allocations: 24.95 kB / 1.179 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3509, allocations: 3.984 kB / 1.179 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.351, allocations: 79.28 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.351, allocations: 0 / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002449/0.3513, allocations: 97.61 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3513, allocations: 55.41 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.3514, allocations: 109.8 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3515, allocations: 29.7 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3515, allocations: 88.14 kB / 1.179 GB, free: 2.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3516, allocations: 19.8 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3516, allocations: 41.58 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3518, allocations: 318.8 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.3518, allocations: 16 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.3519, allocations: 47.42 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.352, allocations: 67.36 kB / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.352, allocations: 0 / 1.18 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001462/0.3521, allocations: 97.75 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3522, allocations: 4 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3522, allocations: 7.984 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3522, allocations: 0 / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.3523, allocations: 11.94 kB / 1.18 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3523, allocations: 4.031 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.3524, allocations: 11.98 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3524, allocations: 4 kB / 1.18 GB, free: 1.43 MB / 0.92 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.739e-05/0.3525, allocations: 121.8 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.3525, allocations: 64 / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.3525, allocations: 15.97 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3525, allocations: 0 / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3525, allocations: 0 / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3526, allocations: 4 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.353, allocations: 366.7 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.353, allocations: 0 / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.353, allocations: 7.938 kB / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.353, allocations: 96 / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3531, allocations: 7.938 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3531, allocations: 3.938 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3531, allocations: 0 / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3532, allocations: 187.4 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.3533, allocations: 77.11 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3533, allocations: 4 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.3534, allocations: 19.86 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.3535, allocations: 7.984 kB / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.3535, allocations: 0 / 1.181 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.3535, allocations: 83.28 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3535, allocations: 0 / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002244/0.3538, allocations: 16 kB / 1.181 GB, free: 432 kB / 0.92 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.000119/0.3539, allocations: 99.25 kB / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.3541, allocations: 59.91 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3541, allocations: 0 / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.3541, allocations: 23.94 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3544, allocations: 14.22 kB / 1.181 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.3548, allocations: 174.8 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3551, allocations: 0.6807 MB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.3552, allocations: 11.44 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3552, allocations: 288 / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.002493/0.3577, allocations: 0.8809 MB / 1.183 GB, free: 14.43 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.249757912009954]