Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008693/0.0008693, allocations: 92.31 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.0009402/0.0009403, 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.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.659/1.659, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005087/0.0005088, allocations: 15.97 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00167/0.225, allocations: 1.214 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2261, allocations: 0.7115 MB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2262, allocations: 0 / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.2262, allocations: 3.938 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.2263, allocations: 11.92 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2267, allocations: 95.78 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2268, allocations: 71.75 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.49e-05/0.2269, allocations: 11.94 kB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.227, allocations: 23.92 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.2271, allocations: 39.88 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2271, allocations: 4 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2273, allocations: 87.84 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.2273, allocations: 15.98 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.2273, allocations: 33.64 kB / 0.7895 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2275, allocations: 100 kB / 0.7896 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2275, allocations: 3.938 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2275, allocations: 4 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2275, allocations: 0 / 0.7896 GB, free: 9.5 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.0005257/0.228, allocations: 396.9 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2281, allocations: 12.02 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.2281, allocations: 11.91 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2282, allocations: 174.9 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2283, allocations: 8 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.2283, allocations: 7.938 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2285, allocations: 65.66 kB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2285, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2285, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2285, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2286, allocations: 51.97 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.2292, allocations: 320.7 kB / 0.7906 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.2293, allocations: 58.5 kB / 0.7907 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.158e-05/0.2294, allocations: 36.97 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2294, allocations: 0 / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.2296, allocations: 79.38 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2296, allocations: 0 / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003525/0.2299, allocations: 145.6 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.23, allocations: 59.42 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.2301, allocations: 129.7 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2301, allocations: 33.64 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.2302, allocations: 88.33 kB / 0.7912 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2302, allocations: 19.73 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.2302, allocations: 4 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.2303, allocations: 314.8 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.2304, allocations: 27.97 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.321e-05/0.2305, allocations: 50.56 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.2306, allocations: 36.3 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2306, allocations: 0 / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.2308, allocations: 125.5 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2308, allocations: 4 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2308, allocations: 3.938 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2308, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.2309, allocations: 23.92 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.231, allocations: 3.953 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.231, allocations: 4 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.231, allocations: 8.062 kB / 0.7918 GB, free: 7.008 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 7.471e-05/0.2311, allocations: 113.8 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2311, allocations: 11.89 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.2312, allocations: 12.38 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2312, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2312, allocations: 4 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2312, allocations: 7.938 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.2316, allocations: 394.4 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2316, allocations: 0 / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.2317, allocations: 4 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2317, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2317, allocations: 3.984 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2317, allocations: 3.953 kB / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2317, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.232, allocations: 223.3 kB / 0.7926 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.232, allocations: 89 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.232, allocations: 4 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.2321, allocations: 4 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2322, allocations: 11.94 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.2322, allocations: 4 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.2322, allocations: 91.27 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2322, allocations: 4 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002871/0.2325, allocations: 36 kB / 0.7928 GB, free: 5.906 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.0002977/0.2328, allocations: 163.3 kB / 0.793 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.233, allocations: 75.89 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.233, allocations: 0 / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.2331, allocations: 39.98 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.2334, allocations: 7.984 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.2338, allocations: 201.2 kB / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.234, allocations: 0.6926 MB / 0.794 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.234, allocations: 8.734 kB / 0.794 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.2341, allocations: 11.44 kB / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2341, allocations: 0 / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.003513/0.2376, allocations: 1.335 MB / 0.7953 GB, free: 3.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: