Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.901/2.901, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002201/0.002201, allocations: 176.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 102.9 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 11.52 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001682/0.2175, allocations: 1.207 MB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.2189, allocations: 0.7151 MB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.219, allocations: 4 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.219, allocations: 7.922 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.2191, allocations: 3.938 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.2196, allocations: 95.77 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2197, allocations: 67.78 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.2198, allocations: 15.97 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.2199, allocations: 23.92 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.22, allocations: 43.81 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2201, allocations: 4 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2203, allocations: 75.92 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.2203, allocations: 15.92 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.2204, allocations: 33.7 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.2206, allocations: 108 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2206, allocations: 4 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2206, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2206, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 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.0005893/0.2212, allocations: 404.8 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2212, allocations: 8.031 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.2213, allocations: 11.86 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.309e-05/0.2214, allocations: 174.9 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.2215, allocations: 8 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2215, allocations: 8 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.2217, allocations: 65.66 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2217, allocations: 0 / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2218, allocations: 0 / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2218, allocations: 3.984 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.222, allocations: 47.97 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.2227, allocations: 324.6 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2229, allocations: 54.55 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2231, allocations: 36.97 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2231, allocations: 4 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.2234, allocations: 75.38 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.2234, allocations: 4 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005488/0.2239, allocations: 149.5 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.224, allocations: 51.41 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.2241, allocations: 129.7 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2241, allocations: 25.7 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.2242, allocations: 96.33 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.2242, allocations: 19.81 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.2242, allocations: 4 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.2243, allocations: 318.8 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2244, allocations: 27.98 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.2246, allocations: 58.48 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2247, allocations: 35.92 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2247, allocations: 4 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003404/0.2251, allocations: 113.5 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2251, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2251, allocations: 3.984 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2251, allocations: 4 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2253, allocations: 15.95 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2253, allocations: 0 / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2254, allocations: 15.98 kB / 0.9829 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2255, allocations: 0 / 0.9829 GB, free: 23.45 MB / 0.6198 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 8.904e-05/0.2256, allocations: 127.7 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.2256, allocations: 3.906 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.2256, allocations: 16.36 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2256, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2257, allocations: 3.953 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2257, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.2262, allocations: 386.5 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2262, allocations: 0 / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.2263, allocations: 8 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2263, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2264, allocations: 7.891 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2264, allocations: 3.984 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2264, allocations: 4 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2267, allocations: 211.9 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.2268, allocations: 85.02 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.2268, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.227, allocations: 15.94 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.227, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.227, allocations: 3.984 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.2271, allocations: 95.27 kB / 0.9838 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2271, allocations: 7.938 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003719/0.2275, allocations: 36 kB / 0.9839 GB, free: 22.35 MB / 0.6198 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.0004033/0.2279, allocations: 165.1 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.2283, allocations: 75.94 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2283, allocations: 0 / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.2284, allocations: 39.92 kB / 0.9842 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2288, allocations: 10.23 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.2292, allocations: 201.3 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2294, allocations: 0.6848 MB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.2294, allocations: 8.172 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.2295, allocations: 11.44 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2295, allocations: 4 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.004794/0.2343, allocations: 1.347 MB / 0.9864 GB, free: 19.78 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)