Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.62 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.001512/0.001513, 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.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.778/1.778, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005913/0.0005913, allocations: 18.16 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2943, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001789/0.2961, allocations: 1.191 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2973, allocations: 0.727 MB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.2974, allocations: 3.938 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2974, allocations: 4 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.387e-05/0.2975, allocations: 11.92 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.298, allocations: 91.75 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.2982, allocations: 43.89 kB / 0.7891 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.2982, allocations: 19.97 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.2983, allocations: 23.92 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.2984, allocations: 31.89 kB / 0.7892 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2984, allocations: 4 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2986, allocations: 75.81 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2987, allocations: 11.97 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.2987, allocations: 37.64 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2989, allocations: 100 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2989, allocations: 4 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2989, allocations: 0 / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2989, allocations: 0 / 0.7894 GB, free: 9.562 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.0006197/0.2995, allocations: 400.8 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2996, allocations: 12.03 kB / 0.7898 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.2996, allocations: 7.906 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2998, allocations: 174.9 kB / 0.79 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.2998, allocations: 12 kB / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2998, allocations: 11.92 kB / 0.79 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3, allocations: 65.66 kB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3, allocations: 0 / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3001, allocations: 11.94 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3001, allocations: 4 kB / 0.7901 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3002, allocations: 43.97 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006134/0.3008, allocations: 312.7 kB / 0.7904 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.301, allocations: 58.56 kB / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.301, allocations: 0 / 0.7905 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.3012, allocations: 79.44 kB / 0.7906 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3012, allocations: 0 / 0.7906 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003795/0.3016, allocations: 153.7 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3016, allocations: 55.36 kB / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.3017, allocations: 121.8 kB / 0.7909 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3018, allocations: 29.7 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.3018, allocations: 92.31 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3019, allocations: 15.75 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3019, allocations: 4 kB / 0.791 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.302, allocations: 322.8 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.3021, allocations: 27.92 kB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.3022, allocations: 50.98 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3023, allocations: 39.94 kB / 0.7914 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3023, allocations: 0 / 0.7914 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.3025, allocations: 117.5 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3025, allocations: 8 kB / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3026, allocations: 0 / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3026, allocations: 0 / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.3027, allocations: 27.98 kB / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3027, allocations: 0 / 0.7916 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.662e-05/0.3028, allocations: 7.953 kB / 0.7916 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3028, allocations: 11.92 kB / 0.7916 GB, free: 7.098 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.565e-05/0.3029, allocations: 113.8 kB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.3029, allocations: 7.906 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.3029, allocations: 12.38 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3029, allocations: 4 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.303, allocations: 0 / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.303, allocations: 0 / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.3034, allocations: 390.8 kB / 0.7921 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3034, allocations: 4 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.3035, allocations: 7.984 kB / 0.7921 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3035, allocations: 4 kB / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3035, allocations: 0 / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3035, allocations: 80 / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3035, allocations: 7.938 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3038, allocations: 211.4 kB / 0.7923 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.3038, allocations: 89.02 kB / 0.7924 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3039, allocations: 4 kB / 0.7924 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.304, allocations: 7.984 kB / 0.7924 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.304, allocations: 11.89 kB / 0.7924 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.304, allocations: 0 / 0.7924 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.3041, allocations: 95.42 kB / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 0.7925 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002917/0.3044, allocations: 39.98 kB / 0.7926 GB, free: 6.008 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.0003406/0.3047, allocations: 175.2 kB / 0.7927 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.305, allocations: 67.91 kB / 0.7928 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.305, allocations: 4.125 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.3051, allocations: 43.97 kB / 0.7929 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3053, allocations: 7.938 kB / 0.7929 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3057, allocations: 201.1 kB / 0.793 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3059, allocations: 0.6926 MB / 0.7937 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.306, allocations: 8.172 kB / 0.7937 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.306, allocations: 11.44 kB / 0.7937 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.306, allocations: 0 / 0.7937 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.003965/0.31, allocations: 1.323 MB / 0.795 GB, free: 3.438 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) Environment - environmentSimulation: