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.001024/0.001023, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001138/0.001139, allocations: 177.3 kB / 15.95 MB, free: 216 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.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.733/1.733, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005847/0.0005848, allocations: 14.66 kB / 0.6735 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2444, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001649/0.2461, allocations: 1.192 MB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2473, allocations: 0.7299 MB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.2473, allocations: 0 / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.2473, allocations: 0 / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.2474, allocations: 15.92 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2479, allocations: 83.77 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.248, allocations: 51.86 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.2481, allocations: 11.98 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.2481, allocations: 31.92 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.2482, allocations: 27.89 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2482, allocations: 4 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2484, allocations: 75.81 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.2484, allocations: 15.97 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.2485, allocations: 33.64 kB / 0.7893 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2486, allocations: 104 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2486, allocations: 0 / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2486, allocations: 4 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2487, allocations: 0 / 0.7894 GB, free: 9.621 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.0005455/0.2492, allocations: 404.8 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2492, allocations: 8.031 kB / 0.7898 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2493, allocations: 7.906 kB / 0.7898 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2494, allocations: 175 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.2494, allocations: 15.92 kB / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2495, allocations: 0 / 0.79 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2496, allocations: 73.66 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2497, allocations: 0 / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2497, allocations: 4 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2497, allocations: 0 / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2498, allocations: 51.91 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.2504, allocations: 316.7 kB / 0.7904 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.2505, allocations: 50.56 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2505, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.2507, allocations: 87.5 kB / 0.7906 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2507, allocations: 0 / 0.7906 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003858/0.2511, allocations: 141.6 kB / 0.7907 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2512, allocations: 67.34 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.2513, allocations: 121.7 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2513, allocations: 33.7 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.2513, allocations: 88.31 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.2514, allocations: 15.75 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.2514, allocations: 4 kB / 0.791 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2515, allocations: 322.8 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.2516, allocations: 27.98 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.2517, allocations: 50.5 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.2518, allocations: 39.97 kB / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2518, allocations: 0 / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002201/0.252, allocations: 117.5 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.252, allocations: 4 kB / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.252, allocations: 0 / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.252, allocations: 7.938 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.2521, allocations: 19.97 kB / 0.7916 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2522, allocations: 4 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.2522, allocations: 12.02 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2522, allocations: 4 kB / 0.7916 GB, free: 7.16 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,$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 9.124e-05/0.2523, allocations: 124.9 kB / 0.7917 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2524, allocations: 7.906 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2524, allocations: 12.31 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2524, allocations: 0 / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2524, allocations: 0 / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2524, allocations: 4 kB / 0.7917 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.2528, allocations: 394.8 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2528, allocations: 0 / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.2529, allocations: 7.984 kB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2529, allocations: 0 / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2529, allocations: 4 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2529, allocations: 0 / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2529, allocations: 8.031 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.2532, allocations: 215.4 kB / 0.7923 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2532, allocations: 81.02 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2532, allocations: 4 kB / 0.7924 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.2533, allocations: 8 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.2534, allocations: 11.94 kB / 0.7924 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.2534, allocations: 4 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.2534, allocations: 95.2 kB / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2534, allocations: 0 / 0.7925 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002647/0.2537, allocations: 39.98 kB / 0.7926 GB, free: 6.062 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 (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.0002748/0.254, allocations: 169.9 kB / 0.7927 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.2542, allocations: 71.91 kB / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2542, allocations: 0 / 0.7928 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.2543, allocations: 47.95 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.2545, allocations: 4.125 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.2548, allocations: 197.1 kB / 0.793 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.2551, allocations: 0.6887 MB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.508e-05/0.2551, allocations: 16.16 kB / 0.7937 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.2551, allocations: 15.38 kB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2551, allocations: 0 / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.003362/0.2585, allocations: 1.321 MB / 0.795 GB, free: 3.5 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: