Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000767/0.0007671, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005927/0.005928, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.48/1.48, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0005033/0.0005034, allocations: 16.47 kB / 0.6249 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5086/0.5091, allocations: 106.3 MB / 0.7287 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002044/0.5112, allocations: 1.219 MB / 0.7299 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.5126, allocations: 0.7603 MB / 0.7306 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.5127, allocations: 0 / 0.7306 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.5128, allocations: 7.938 kB / 0.7307 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.393e-05/0.5128, allocations: 11.91 kB / 0.7307 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.5134, allocations: 107.8 kB / 0.7308 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.5136, allocations: 71.72 kB / 0.7308 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5137, allocations: 15.98 kB / 0.7309 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.5138, allocations: 27.91 kB / 0.7309 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.5139, allocations: 35.84 kB / 0.7309 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.5139, allocations: 4 kB / 0.7309 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.5141, allocations: 91.84 kB / 0.731 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.5142, allocations: 11.98 kB / 0.731 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.5142, allocations: 61.48 kB / 0.7311 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.5145, allocations: 133.6 kB / 0.7312 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5145, allocations: 0 / 0.7312 GB, free: 8.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5145, allocations: 0 / 0.7312 GB, free: 8.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5145, allocations: 0 / 0.7312 GB, free: 8.762 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.0006457/0.5152, allocations: 413 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5152, allocations: 12.03 kB / 0.7316 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.5153, allocations: 12.78 kB / 0.7316 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.5154, allocations: 176.2 kB / 0.7318 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.5155, allocations: 4.375 kB / 0.7318 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.5155, allocations: 8.359 kB / 0.7318 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.5157, allocations: 77.91 kB / 0.7319 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5157, allocations: 4 kB / 0.7319 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5157, allocations: 4 kB / 0.7319 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5157, allocations: 0 / 0.7319 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.5159, allocations: 39.97 kB / 0.7319 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.5165, allocations: 324.8 kB / 0.7322 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5167, allocations: 50.5 kB / 0.7323 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.5168, allocations: 32.97 kB / 0.7323 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.5168, allocations: 8 kB / 0.7323 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.517, allocations: 83.28 kB / 0.7324 GB, free: 7.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.517, allocations: 0 / 0.7324 GB, free: 7.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000394/0.5174, allocations: 149.6 kB / 0.7325 GB, free: 7.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5175, allocations: 51.48 kB / 0.7326 GB, free: 7.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5176, allocations: 129.7 kB / 0.7327 GB, free: 7.016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.5176, allocations: 25.7 kB / 0.7327 GB, free: 6.984 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.5177, allocations: 96.11 kB / 0.7328 GB, free: 6.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.5177, allocations: 11.81 kB / 0.7328 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.5177, allocations: 17.72 kB / 0.7329 GB, free: 6.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.5178, allocations: 326.8 kB / 0.7332 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.5179, allocations: 27.98 kB / 0.7332 GB, free: 6.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.518, allocations: 50.55 kB / 0.7332 GB, free: 6.438 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.5182, allocations: 90.8 kB / 0.7333 GB, free: 6.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5182, allocations: 0 / 0.7333 GB, free: 6.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.5184, allocations: 113.5 kB / 0.7334 GB, free: 6.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5185, allocations: 5.719 kB / 0.7334 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5185, allocations: 7.984 kB / 0.7335 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5185, allocations: 8.047 kB / 0.7335 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.5186, allocations: 8 kB / 0.7335 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5186, allocations: 4 kB / 0.7335 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.5187, allocations: 15.92 kB / 0.7335 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5187, allocations: 4 kB / 0.7335 GB, free: 6.172 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.118e-05/0.5188, allocations: 124.7 kB / 0.7336 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.5188, allocations: 7.906 kB / 0.7336 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.5189, allocations: 12.38 kB / 0.7336 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5189, allocations: 3.984 kB / 0.7336 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5189, allocations: 4 kB / 0.7336 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5189, allocations: 0 / 0.7336 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.5193, allocations: 378.5 kB / 0.734 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5193, allocations: 3.938 kB / 0.734 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.5194, allocations: 19.88 kB / 0.734 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5194, allocations: 4 kB / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5194, allocations: 0 / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5194, allocations: 0 / 0.734 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5194, allocations: 7.922 kB / 0.734 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.5197, allocations: 215.4 kB / 0.7342 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.5197, allocations: 81.02 kB / 0.7343 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.5198, allocations: 4 kB / 0.7343 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.689e-05/0.5199, allocations: 11.98 kB / 0.7343 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.5199, allocations: 3.938 kB / 0.7343 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5199, allocations: 11.98 kB / 0.7343 GB, free: 5.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.52, allocations: 91.27 kB / 0.7344 GB, free: 5.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.52, allocations: 0 / 0.7344 GB, free: 5.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003069/0.5203, allocations: 39.94 kB / 0.7345 GB, free: 5.07 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.0003579/0.5207, allocations: 156.2 kB / 0.7346 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002317/0.5209, allocations: 80 kB / 0.7347 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5209, allocations: 0 / 0.7347 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.521, allocations: 43.86 kB / 0.7347 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5213, allocations: 10.62 kB / 0.7347 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.5217, allocations: 209.7 kB / 0.7349 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.522, allocations: 0.6887 MB / 0.7356 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.522, allocations: 7.984 kB / 0.7356 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.5221, allocations: 15.42 kB / 0.7356 GB, free: 3.824 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5221, allocations: 0 / 0.7356 GB, free: 3.824 MB / 0.545 GB Notification: Performance of Templates: time 0.004003/0.5261, allocations: 1.363 MB / 0.737 GB, free: 2.473 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: