Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.4 MB / 303.4 MB, free: 8.137 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.00102/0.001021, allocations: 176.5 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008554/0.0008551, allocations: 94.3 kB / 0.7441 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 15 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001429/0.2272, allocations: 1.207 MB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2283, allocations: 0.7148 MB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.2284, allocations: 0 / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2284, allocations: 3.938 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.2285, allocations: 11.94 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.2289, allocations: 99.75 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.229, allocations: 67.78 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.229, allocations: 7.984 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.2291, allocations: 27.91 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.2291, allocations: 39.83 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2292, allocations: 4 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.2293, allocations: 83.91 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2293, allocations: 19.92 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.2294, allocations: 29.7 kB / 0.9818 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2295, allocations: 100 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2295, allocations: 4 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.11e-07/0.2295, allocations: 0 / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.2295, allocations: 0 / 0.9819 GB, free: 25.21 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.0003965/0.2299, allocations: 408.8 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.579e-05/0.23, allocations: 12.03 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.23, allocations: 7.906 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.179e-05/0.2301, allocations: 174.9 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2301, allocations: 8 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2301, allocations: 4 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2303, allocations: 73.62 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-06/0.2303, allocations: 0 / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2303, allocations: 0 / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-06/0.2303, allocations: 0 / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.2304, allocations: 51.97 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.2309, allocations: 320.6 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.231, allocations: 50.56 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.2311, allocations: 36.97 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2311, allocations: 4.062 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.2313, allocations: 79.38 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2313, allocations: 0 / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003323/0.2316, allocations: 145.6 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2317, allocations: 59.34 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.2317, allocations: 125.8 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2317, allocations: 33.64 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.2318, allocations: 92.31 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2318, allocations: 19.73 kB / 0.9836 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.2318, allocations: 4 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.2319, allocations: 318.8 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.2319, allocations: 23.98 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.232, allocations: 54.5 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.2321, allocations: 39.92 kB / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2321, allocations: 0 / 0.984 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002122/0.2324, allocations: 121.5 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2324, allocations: 4 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.2324, allocations: 0 / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2324, allocations: 4 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.2325, allocations: 15.98 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2325, allocations: 3.953 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.2326, allocations: 12 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.2326, allocations: 4.062 kB / 0.9841 GB, free: 22.71 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 6.388e-05/0.2327, allocations: 127.3 kB / 0.9843 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2327, allocations: 3.906 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.2327, allocations: 12.38 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2327, allocations: 0 / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2328, allocations: 0 / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2328, allocations: 7.938 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.2331, allocations: 390.5 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2331, allocations: 0 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.2332, allocations: 7.984 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2332, allocations: 3.938 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2332, allocations: 0 / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2332, allocations: 3.953 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2332, allocations: 0 / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2334, allocations: 215.4 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.2335, allocations: 85.02 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2335, allocations: 4 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.2336, allocations: 4 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2336, allocations: 15.94 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.2336, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.2337, allocations: 99.2 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2337, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002557/0.2339, allocations: 39.98 kB / 0.9851 GB, free: 21.62 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.0002628/0.2342, allocations: 171.2 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.2344, allocations: 67.95 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2344, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.2345, allocations: 47.91 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2347, allocations: 6.141 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.235, allocations: 197.2 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2352, allocations: 0.6887 MB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.2352, allocations: 8.188 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.2352, allocations: 11.44 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2352, allocations: 0 / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.003017/0.2383, allocations: 1.35 MB / 0.9876 GB, free: 19.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)