Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001566/0.001566, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001698/0.001698, allocations: 215.6 kB / 22.99 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.211/3.211, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [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.002085/0.002085, allocations: 71.53 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3601, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002962/0.363, allocations: 1.52 MB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3645, allocations: 0.7138 MB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3645, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.224e-05/0.3646, allocations: 11.86 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.3647, allocations: 11.86 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.3652, allocations: 135.6 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3654, allocations: 83.77 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.3655, allocations: 11.94 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3656, allocations: 43.83 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.3657, allocations: 39.83 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3657, allocations: 8 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.366, allocations: 123.8 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.366, allocations: 35.86 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.3661, allocations: 39.72 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3664, allocations: 187.2 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3664, allocations: 4 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3664, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.3664, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007222/0.3671, allocations: 424.1 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3671, allocations: 8.031 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.3675, allocations: 44.77 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3677, allocations: 142.3 kB / 1.368 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.3678, allocations: 8.375 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.3678, allocations: 8.359 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.3681, allocations: 197.9 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3681, allocations: 0 / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3681, allocations: 4 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3681, allocations: 0 / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.3683, allocations: 107.7 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.3689, allocations: 276.3 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3691, allocations: 118.8 kB / 1.369 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.3693, allocations: 101.2 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3693, allocations: 0 / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.3696, allocations: 212.3 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.3696, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.0008814/0.3705, allocations: 0.5137 MB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.3705, allocations: 87.38 kB / 1.37 GB, free: 8.242 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3707, allocations: 156 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.3708, allocations: 57.69 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3708, allocations: 85.14 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.371, allocations: 111.2 kB / 1.37 GB, free: 7.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3711, allocations: 101.7 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3713, allocations: 338.8 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.3716, allocations: 180.6 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.3719, allocations: 235.2 kB / 1.371 GB, free: 6.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006247/0.3725, allocations: 435.3 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3725, allocations: 0 / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008058/0.3733, allocations: 0.5088 MB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3734, allocations: 6.188 kB / 1.372 GB, free: 6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3734, allocations: 4 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3734, allocations: 3.938 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3735, allocations: 24.02 kB / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3735, allocations: 4.078 kB / 1.372 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3737, allocations: 51.64 kB / 1.372 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3737, allocations: 11.98 kB / 1.372 GB, free: 5.902 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002262/0.3739, allocations: 204.3 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3739, allocations: 15.86 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.374, allocations: 13.62 kB / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.374, allocations: 0 / 1.372 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.374, allocations: 3.984 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.374, allocations: 0 / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008037/0.3748, allocations: 0.5894 MB / 1.373 GB, free: 5.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3748, allocations: 4 kB / 1.373 GB, free: 5.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3748, allocations: 7.938 kB / 1.373 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3748, allocations: 0 / 1.373 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3748, allocations: 7.984 kB / 1.373 GB, free: 5.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3749, allocations: 4 kB / 1.373 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3749, allocations: 0 / 1.373 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.3755, allocations: 473.2 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3755, allocations: 23.83 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.3755, allocations: 27.98 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.3756, allocations: 8 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3757, allocations: 11.98 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.3757, allocations: 4 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.3758, allocations: 95.27 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 0 / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003217/0.3761, allocations: 55.88 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33],win.ran) * Number of discrete states: 33 (win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.000457/0.3765, allocations: 239.2 kB / 1.374 GB, free: 4.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.3772, allocations: 402.1 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3772, allocations: 0 / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3773, allocations: 103.9 kB / 1.374 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3776, allocations: 12 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.3783, allocations: 408.8 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3784, allocations: 111.4 kB / 1.375 GB, free: 3.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.3784, allocations: 15.44 kB / 1.375 GB, free: 2.996 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.3784, allocations: 0 / 1.375 GB, free: 2.996 MB / 1.061 GB Notification: Performance of Templates: time 0.005116/0.3836, allocations: 2.626 MB / 1.377 GB, free: 384 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.766739609185606]