Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001258/0.001258, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.379 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.576/1.576, allocations: 252 MB / 0.5102 GB, free: 4.848 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.0008151/0.0008153, allocations: 23.28 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6389/0.6397, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002821/0.6426, allocations: 1.211 MB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.6447, allocations: 0.7295 MB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.6449, allocations: 0 / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.6449, allocations: 3.938 kB / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.847e-05/0.645, allocations: 7.938 kB / 0.73 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007785/0.6458, allocations: 99.75 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.646, allocations: 63.78 kB / 0.7302 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.6461, allocations: 12 kB / 0.7302 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.6463, allocations: 35.89 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.6464, allocations: 27.91 kB / 0.7303 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.6464, allocations: 4 kB / 0.7303 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.6468, allocations: 87.84 kB / 0.7303 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.6469, allocations: 15.97 kB / 0.7304 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.6469, allocations: 37.64 kB / 0.7304 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.6473, allocations: 89.8 kB / 0.7305 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.6473, allocations: 4 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.015e-06/0.6473, allocations: 0 / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.6473, allocations: 0 / 0.7305 GB, free: 8.965 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.001039/0.6483, allocations: 412.8 kB / 0.7309 GB, free: 8.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.6484, allocations: 8.031 kB / 0.7309 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.6485, allocations: 11.86 kB / 0.7309 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.6488, allocations: 178.8 kB / 0.7311 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.6489, allocations: 8 kB / 0.7311 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.6489, allocations: 7.984 kB / 0.7311 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.6492, allocations: 77.59 kB / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6492, allocations: 0 / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.6492, allocations: 0 / 0.7312 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6492, allocations: 3.938 kB / 0.7312 GB, free: 8.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.6494, allocations: 47.97 kB / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009469/0.6504, allocations: 312.8 kB / 0.7315 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.6506, allocations: 54.5 kB / 0.7316 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.6507, allocations: 32.97 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.6508, allocations: 4 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.6511, allocations: 75.38 kB / 0.7317 GB, free: 7.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.6511, allocations: 4 kB / 0.7317 GB, free: 7.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005854/0.6517, allocations: 157.7 kB / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.6518, allocations: 55.41 kB / 0.7319 GB, free: 7.352 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6519, allocations: 118.2 kB / 0.732 GB, free: 7.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.6519, allocations: 29.7 kB / 0.732 GB, free: 7.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.6521, allocations: 96.31 kB / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.6521, allocations: 11.81 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.6521, allocations: 0 / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6523, allocations: 322.8 kB / 0.7324 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.6524, allocations: 27.98 kB / 0.7325 GB, free: 6.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.6526, allocations: 54.61 kB / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.6527, allocations: 36.05 kB / 0.7325 GB, free: 6.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6527, allocations: 3.938 kB / 0.7325 GB, free: 6.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003456/0.6531, allocations: 121.5 kB / 0.7327 GB, free: 6.504 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.6531, allocations: 12 kB / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6531, allocations: 0 / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6532, allocations: 0 / 0.7327 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6533, allocations: 23.88 kB / 0.7327 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6533, allocations: 0 / 0.7327 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.6534, allocations: 11.84 kB / 0.7327 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.6535, allocations: 7.984 kB / 0.7327 GB, free: 6.449 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.6536, allocations: 121.8 kB / 0.7328 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.6536, allocations: 4 kB / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.6537, allocations: 4.375 kB / 0.7328 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6537, allocations: 4 kB / 0.7328 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6537, allocations: 3.953 kB / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6537, allocations: 0 / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.6544, allocations: 390.4 kB / 0.7332 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.6544, allocations: 0 / 0.7332 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.6544, allocations: 11.98 kB / 0.7332 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6544, allocations: 0 / 0.7332 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.6545, allocations: 7.953 kB / 0.7332 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6545, allocations: 0 / 0.7332 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6545, allocations: 0 / 0.7332 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.655, allocations: 223.3 kB / 0.7335 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.655, allocations: 89.03 kB / 0.7335 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.6551, allocations: 0 / 0.7335 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.6552, allocations: 7.953 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.6553, allocations: 7.984 kB / 0.7336 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.6553, allocations: 0 / 0.7336 GB, free: 5.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.6554, allocations: 95.27 kB / 0.7336 GB, free: 5.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6554, allocations: 4 kB / 0.7336 GB, free: 5.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004808/0.6559, allocations: 39.92 kB / 0.7337 GB, free: 5.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005687/0.6565, allocations: 163.2 kB / 0.7338 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.6568, allocations: 76.14 kB / 0.7339 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6568, allocations: 0 / 0.7339 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.657, allocations: 40.12 kB / 0.7339 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.6574, allocations: 4 kB / 0.734 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.658, allocations: 213.3 kB / 0.7342 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.6585, allocations: 0.6887 MB / 0.7348 GB, free: 4.133 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.357e-05/0.6585, allocations: 8.172 kB / 0.7348 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.6586, allocations: 11.38 kB / 0.7348 GB, free: 4.117 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.6586, allocations: 4 kB / 0.7349 GB, free: 4.113 MB / 0.545 GB Notification: Performance of Templates: time 0.005752/0.6644, allocations: 1.338 MB / 0.7362 GB, free: 2.785 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) Environment - environmentSimulation: