Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009744/0.0009751, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007291/0.007291, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.513/1.513, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0005377/0.0005378, allocations: 17.59 kB / 0.6743 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2436, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001966/0.2456, allocations: 1.223 MB / 0.7891 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2471, allocations: 0.749 MB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.2471, allocations: 0 / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2472, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.2473, allocations: 15.86 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006424/0.2479, allocations: 103.8 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.248, allocations: 67.83 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.2481, allocations: 11.98 kB / 0.79 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.2483, allocations: 27.86 kB / 0.79 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.2483, allocations: 35.89 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.2484, allocations: 4 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2486, allocations: 99.84 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2486, allocations: 11.92 kB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.2487, allocations: 49.56 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2489, allocations: 143.9 kB / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2489, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2489, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2489, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 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.0006547/0.2496, allocations: 405 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2496, allocations: 11.97 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.2497, allocations: 8.844 kB / 0.7908 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2498, allocations: 180.2 kB / 0.7909 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.2499, allocations: 16.3 kB / 0.791 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2499, allocations: 4.375 kB / 0.791 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.2501, allocations: 69.97 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2501, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2501, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2502, allocations: 4 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.2503, allocations: 51.95 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.251, allocations: 316.7 kB / 0.7914 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2511, allocations: 54.56 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.2512, allocations: 32.97 kB / 0.7915 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2512, allocations: 0 / 0.7915 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.2514, allocations: 83.44 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2514, allocations: 3.938 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004278/0.2519, allocations: 149.5 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.2519, allocations: 59.41 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.252, allocations: 113.8 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2521, allocations: 33.7 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.2521, allocations: 92.03 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.2522, allocations: 15.84 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.2522, allocations: 17.7 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2523, allocations: 322.8 kB / 0.7923 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.2524, allocations: 31.98 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.2525, allocations: 50.55 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2527, allocations: 86.78 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2527, allocations: 0 / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.253, allocations: 121.5 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.253, allocations: 7.938 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.253, allocations: 3.984 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.253, allocations: 4 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2531, allocations: 16 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.2531, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.2532, allocations: 15.89 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2532, allocations: 0 / 0.7926 GB, free: 6.43 MB / 0.6075 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.801e-05/0.2534, allocations: 129.2 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2534, allocations: 3.906 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.2534, allocations: 12.36 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2534, allocations: 4 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2534, allocations: 0 / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2534, allocations: 0 / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.2539, allocations: 398.3 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2539, allocations: 0 / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.254, allocations: 4 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.254, allocations: 4 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.254, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.254, allocations: 7.984 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.254, allocations: 7.938 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2543, allocations: 215.4 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2543, allocations: 77.11 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2544, allocations: 4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.2544, allocations: 7.984 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2545, allocations: 7.938 kB / 0.7935 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2545, allocations: 7.984 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.2546, allocations: 95.27 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2546, allocations: 0 / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003162/0.2549, allocations: 39.91 kB / 0.7936 GB, free: 5.328 MB / 0.6075 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.0003533/0.2553, allocations: 160.4 kB / 0.7938 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.2555, allocations: 79.89 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2556, allocations: 3.938 kB / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.2557, allocations: 44.09 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2559, allocations: 8 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.2564, allocations: 205.7 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2566, allocations: 0.6926 MB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.2567, allocations: 7.984 kB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2567, allocations: 7.438 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2567, allocations: 4 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.004263/0.261, allocations: 1.353 MB / 0.7961 GB, free: 2.73 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) Environment - environmentSimulation: