Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001372/0.001372, 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.001501/0.001501, allocations: 212.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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.283/3.283, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [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.002076/0.002076, allocations: 68.61 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002742/0.32, allocations: 1.528 MB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3214, allocations: 0.71 MB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.3214, allocations: 0 / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.3215, allocations: 11.86 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.621e-05/0.3216, allocations: 11.88 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.322, allocations: 135.6 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3222, allocations: 83.75 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.3223, allocations: 11.94 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3224, allocations: 47.78 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.3225, allocations: 39.83 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3225, allocations: 4 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.3227, allocations: 123.8 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.3228, allocations: 35.91 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.3229, allocations: 39.67 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3231, allocations: 191.2 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3231, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3231, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3231, allocations: 3.984 kB / 1.367 GB, free: 10.63 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.0006793/0.3238, allocations: 420.2 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3238, allocations: 12.03 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.3242, allocations: 40.77 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3244, allocations: 142.3 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3244, allocations: 4.375 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.3245, allocations: 8.359 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.3248, allocations: 193.9 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3248, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3248, allocations: 4 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3248, allocations: 7.938 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.325, allocations: 107.7 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.3255, allocations: 284.3 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3257, allocations: 114.8 kB / 1.369 GB, free: 9.211 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3259, allocations: 97.22 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3259, allocations: 0 / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.3262, allocations: 216.2 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of pre-optimization done (n=40): time 1.412e-06/0.3262, allocations: 0 / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.0008267/0.327, allocations: 0.5137 MB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/0.3271, allocations: 91.36 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3272, allocations: 143.2 kB / 1.37 GB, free: 8.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.3273, allocations: 61.67 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.3273, allocations: 89.14 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3274, allocations: 107.2 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3275, allocations: 101.6 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3277, allocations: 338.8 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.328, allocations: 180.6 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3283, allocations: 235.2 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.3289, allocations: 435.3 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3289, allocations: 0 / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007422/0.3296, allocations: 0.5126 MB / 1.372 GB, free: 6.039 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3296, allocations: 9.562 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3297, allocations: 0 / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3297, allocations: 4 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3298, allocations: 24.02 kB / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3298, allocations: 0 / 1.372 GB, free: 6.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3299, allocations: 43.72 kB / 1.372 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.3299, allocations: 8 kB / 1.372 GB, free: 5.953 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.0002114/0.3302, allocations: 216.3 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.3302, allocations: 15.86 kB / 1.372 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.3302, allocations: 13.62 kB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3302, allocations: 0 / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3302, allocations: 0 / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3302, allocations: 7.984 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.3309, allocations: 0.5816 MB / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3309, allocations: 4 kB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.331, allocations: 3.938 kB / 1.373 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.331, allocations: 4 kB / 1.373 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.331, allocations: 11.92 kB / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.331, allocations: 0 / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.331, allocations: 0 / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.3316, allocations: 477.2 kB / 1.373 GB, free: 4.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.3316, allocations: 15.84 kB / 1.373 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.3316, allocations: 31.98 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.3317, allocations: 11.98 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3318, allocations: 7.984 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3318, allocations: 4 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.3318, allocations: 99.27 kB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3318, allocations: 0 / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003101/0.3321, allocations: 55.88 kB / 1.373 GB, free: 4.348 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.0004277/0.3326, allocations: 235.1 kB / 1.374 GB, free: 4.129 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005849/0.3332, allocations: 398.1 kB / 1.374 GB, free: 3.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3332, allocations: 4 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3333, allocations: 103.9 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.3336, allocations: 8.391 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.3342, allocations: 416.8 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3343, allocations: 111.4 kB / 1.375 GB, free: 3.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.3344, allocations: 15.44 kB / 1.375 GB, free: 3.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3344, allocations: 0 / 1.375 GB, free: 3.035 MB / 1.061 GB Notification: Performance of Templates: time 0.004765/0.3391, allocations: 2.617 MB / 1.377 GB, free: 432 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.769125449005514]