Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 107.4 kB / 15.34 MB, free: 0.4961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 190.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 251.6 MB / 0.5089 GB, free: 3.254 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 72.33 kB / 0.6217 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6419, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002824/0.6447, allocations: 1.558 MB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.6461, allocations: 0.7602 MB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.6462, allocations: 4 kB / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.6462, allocations: 0 / 0.7263 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.6463, allocations: 15.84 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.6469, allocations: 115.8 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.6471, allocations: 75.78 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.6472, allocations: 11.98 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.6473, allocations: 31.91 kB / 0.7265 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.6474, allocations: 35.84 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.6474, allocations: 8 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.6476, allocations: 103.8 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.6476, allocations: 19.95 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.6477, allocations: 39.8 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.6479, allocations: 141.6 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6479, allocations: 0 / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6479, allocations: 0 / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.6479, allocations: 0 / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000751/0.6487, allocations: 416.8 kB / 0.7272 GB, free: 9.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.6488, allocations: 8.031 kB / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.6488, allocations: 8.844 kB / 0.7272 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.6489, allocations: 176.2 kB / 0.7274 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.649, allocations: 8.375 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.649, allocations: 8.375 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.6492, allocations: 65.97 kB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6492, allocations: 0 / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.6492, allocations: 0 / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6492, allocations: 4 kB / 0.7275 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.6494, allocations: 39.95 kB / 0.7275 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.65, allocations: 320.6 kB / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.6501, allocations: 54.55 kB / 0.7279 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.6502, allocations: 28.97 kB / 0.7279 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.6502, allocations: 4 kB / 0.7279 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.6504, allocations: 79.36 kB / 0.728 GB, free: 8.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6504, allocations: 0 / 0.728 GB, free: 8.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003854/0.6508, allocations: 145.5 kB / 0.7281 GB, free: 8.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6509, allocations: 51.41 kB / 0.7282 GB, free: 8.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.99e-05/0.651, allocations: 129.7 kB / 0.7283 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.651, allocations: 25.7 kB / 0.7283 GB, free: 8.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.651, allocations: 96.14 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.6511, allocations: 11.81 kB / 0.7284 GB, free: 8.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.6511, allocations: 29.7 kB / 0.7285 GB, free: 8.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.6512, allocations: 322.8 kB / 0.7288 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.6513, allocations: 27.98 kB / 0.7288 GB, free: 7.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.6514, allocations: 46.55 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6515, allocations: 74.5 kB / 0.7289 GB, free: 7.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6516, allocations: 0 / 0.7289 GB, free: 7.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002138/0.6518, allocations: 113.5 kB / 0.729 GB, free: 7.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6518, allocations: 5.875 kB / 0.729 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6518, allocations: 4 kB / 0.729 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6518, allocations: 4.062 kB / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6519, allocations: 19.92 kB / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.652, allocations: 0 / 0.7291 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.652, allocations: 15.78 kB / 0.7291 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.652, allocations: 7.984 kB / 0.7291 GB, free: 7.582 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 (11): * Single equations (assignments): 11 * 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.849e-05/0.6522, allocations: 121.2 kB / 0.7292 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.6522, allocations: 7.984 kB / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.6522, allocations: 12.38 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6522, allocations: 4 kB / 0.7292 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6522, allocations: 0 / 0.7292 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6522, allocations: 0 / 0.7292 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.6527, allocations: 386.3 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6527, allocations: 3.938 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.6527, allocations: 7.984 kB / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6527, allocations: 0 / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6527, allocations: 4 kB / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6528, allocations: 4 kB / 0.7296 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6528, allocations: 3.938 kB / 0.7296 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.653, allocations: 207.4 kB / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.6531, allocations: 89.02 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.6531, allocations: 0 / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.6532, allocations: 7.984 kB / 0.7299 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.6532, allocations: 11.94 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.6533, allocations: 0 / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.6533, allocations: 91.27 kB / 0.73 GB, free: 6.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6533, allocations: 0 / 0.73 GB, free: 6.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002954/0.6536, allocations: 43.92 kB / 0.73 GB, free: 6.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * 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.0003556/0.654, allocations: 168.3 kB / 0.7302 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.6542, allocations: 71.89 kB / 0.7303 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6543, allocations: 0 / 0.7303 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.629e-05/0.6544, allocations: 31.98 kB / 0.7303 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.6546, allocations: 8 kB / 0.7303 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.6551, allocations: 208.3 kB / 0.7305 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.6554, allocations: 0.6846 MB / 0.7312 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.6554, allocations: 7.984 kB / 0.7312 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.6554, allocations: 11.44 kB / 0.7312 GB, free: 5.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/0.6554, allocations: 0 / 0.7312 GB, free: 5.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003954/0.6594, allocations: 1.418 MB / 0.7326 GB, free: 3.867 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)