Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001862/0.001862, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002071/0.002071, allocations: 157.7 kB / 23.01 MB, free: 4.602 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.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.883 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.686/2.686, allocations: 359.1 MB / 0.6044 GB, free: 14.88 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.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [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.002327/0.002327, allocations: 67.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3477, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003015/0.3508, allocations: 1.528 MB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3524, allocations: 0.7829 MB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3525, allocations: 0 / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.3525, allocations: 11.86 kB / 1.12 GB, free: 264 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.3526, allocations: 15.86 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.3533, allocations: 155.5 kB / 1.12 GB, free: 92 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3535, allocations: 107.7 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.3535, allocations: 15.98 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3537, allocations: 51.83 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.596e-05/0.3538, allocations: 47.81 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.3538, allocations: 12 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.3542, allocations: 135.8 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.3542, allocations: 31.91 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.3543, allocations: 31.84 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.3546, allocations: 171.5 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3546, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3546, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3546, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007084/0.3553, allocations: 393.2 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3553, allocations: 8.031 kB / 1.121 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/0.3558, allocations: 52.8 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.3561, allocations: 142.3 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.3561, allocations: 4.375 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.3561, allocations: 4.375 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.3564, allocations: 89.94 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3564, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3564, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3564, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3566, allocations: 59.89 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.3573, allocations: 264.5 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3574, allocations: 54.48 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3576, allocations: 40.83 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3576, allocations: 8.031 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.3578, allocations: 99.3 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3578, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.00056/0.3584, allocations: 181.8 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3584, allocations: 55.41 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3585, allocations: 132.6 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3586, allocations: 25.7 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.3586, allocations: 96.09 kB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.3587, allocations: 31.97 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3587, allocations: 33.64 kB / 1.122 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3589, allocations: 318.8 kB / 1.122 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.359, allocations: 31.97 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3591, allocations: 56.28 kB / 1.123 GB, free: 13.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3593, allocations: 96.14 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3593, allocations: 4 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002906/0.3596, allocations: 137.5 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3596, allocations: 8 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3596, allocations: 0 / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3596, allocations: 4 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3597, allocations: 11.98 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3597, allocations: 8.062 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.3598, allocations: 11.95 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3598, allocations: 8.094 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001134/0.36, allocations: 129.6 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.36, allocations: 11.89 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.36, allocations: 12.44 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.36, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.36, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.36, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.3606, allocations: 374 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3606, allocations: 4 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3607, allocations: 4 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3607, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3607, allocations: 7.984 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3607, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3607, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.3611, allocations: 255.4 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.3611, allocations: 7.953 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3611, allocations: 0 / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3613, allocations: 11.98 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3613, allocations: 11.98 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.3613, allocations: 0 / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.3614, allocations: 103.1 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3614, allocations: 0 / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000338/0.3617, allocations: 47.86 kB / 1.124 GB, free: 11.84 MB / 1.076 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003843/0.3621, allocations: 170.5 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3624, allocations: 83.89 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3624, allocations: 4 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3625, allocations: 35.97 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3628, allocations: 15.98 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.3633, allocations: 212.6 kB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.945e-05/0.3634, allocations: 83.2 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.3634, allocations: 4 kB / 1.124 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.3635, allocations: 12.5 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of SimCode: time 5.92e-07/0.3635, allocations: 0 / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of Templates: time 0.005246/0.3687, allocations: 1.777 MB / 1.126 GB, free: 9.441 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.815175418974832]