Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.819/2.819, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.002038/0.002038, allocations: 174.7 kB / 371 MB, free: 10.89 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.31/2.31, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0008992/0.0008988, allocations: 85.66 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004746, allocations: 11.31 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.00176/0.2136, allocations: 1.203 MB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2152, allocations: 0.7112 MB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.2153, allocations: 0 / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.2153, allocations: 3.938 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.2154, allocations: 15.92 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.216, allocations: 99.75 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2161, allocations: 59.78 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.2162, allocations: 12 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.645e-05/0.2163, allocations: 27.91 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.2164, allocations: 39.83 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2164, allocations: 4 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.2166, allocations: 83.91 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2167, allocations: 15.92 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.2167, allocations: 33.7 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2169, allocations: 100 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2169, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2169, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.217, allocations: 0 / 0.9807 GB, free: 25.96 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.0006161/0.2176, allocations: 412.8 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2176, allocations: 15.97 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.2177, allocations: 11.86 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.2178, allocations: 167 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.2178, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.2179, allocations: 8 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2181, allocations: 73.64 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2181, allocations: 0 / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2182, allocations: 3.938 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2182, allocations: 0 / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.2184, allocations: 47.97 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.2191, allocations: 328.6 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2193, allocations: 46.56 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.2195, allocations: 32.97 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2195, allocations: 4 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.2198, allocations: 87.31 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.2198, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005543/0.2204, allocations: 137.6 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.2204, allocations: 67.45 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.2205, allocations: 125.8 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2206, allocations: 25.7 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.2206, allocations: 92.31 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.2207, allocations: 15.75 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2207, allocations: 4 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.2208, allocations: 318.8 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.2211, allocations: 27.98 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.2213, allocations: 58.44 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2216, allocations: 31.98 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2216, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005916/0.2222, allocations: 121.8 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.2223, allocations: 8 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2223, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2223, allocations: 0 / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2226, allocations: 19.94 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2226, allocations: 80 / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2228, allocations: 8 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2228, allocations: 12.05 kB / 0.9829 GB, free: 23.46 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 0.0001453/0.223, allocations: 122.9 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.2231, allocations: 7.906 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.2231, allocations: 8.375 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2231, allocations: 4 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.2232, allocations: 7.938 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2232, allocations: 0 / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009071/0.2241, allocations: 382.5 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2241, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2243, allocations: 15.92 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.2243, allocations: 0 / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.2243, allocations: 11.95 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2244, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2244, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.2252, allocations: 223.3 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.2252, allocations: 85.02 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.2253, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.2256, allocations: 11.95 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.2257, allocations: 11.98 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.2257, allocations: 0 / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.123e-05/0.2258, allocations: 95.86 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.32e-07/0.2259, allocations: 3.938 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007608/0.2266, allocations: 39.98 kB / 0.9839 GB, free: 22.36 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.0006092/0.2273, allocations: 152 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006713/0.228, allocations: 71.97 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.228, allocations: 0 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.2283, allocations: 43.91 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.229, allocations: 4.125 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.2298, allocations: 201.2 kB / 0.9844 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.23, allocations: 0.6887 MB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.869e-05/0.2301, allocations: 8.125 kB / 0.985 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.2302, allocations: 11.44 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2302, allocations: 0 / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.007389/0.2376, allocations: 1.345 MB / 0.9864 GB, free: 19.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)