Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.822/1.822, allocations: 288.4 MB / 303.4 MB, free: 8.105 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.001025/0.001026, allocations: 188.4 kB / 372 MB, free: 10.26 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.518/1.518, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.000691/0.0006911, allocations: 88.81 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 11.78 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1999, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001496/0.2014, allocations: 1.203 MB / 0.9808 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2025, allocations: 0.7188 MB / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.2025, allocations: 0 / 0.9815 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.2025, allocations: 7.922 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.568e-05/0.2026, allocations: 7.938 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.203, allocations: 95.77 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.2031, allocations: 71.77 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.2032, allocations: 8 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.2033, allocations: 27.91 kB / 0.9817 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.2033, allocations: 39.83 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2034, allocations: 4 kB / 0.9817 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2035, allocations: 79.92 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2035, allocations: 19.91 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.2036, allocations: 33.69 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.2037, allocations: 104 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2037, allocations: 0 / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2037, allocations: 4 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2038, allocations: 0 / 0.9819 GB, free: 25.24 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.0005476/0.2043, allocations: 401.8 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2044, allocations: 8.031 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.2044, allocations: 11.89 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.2045, allocations: 182.9 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.2046, allocations: 8 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2046, allocations: 4 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2048, allocations: 65.66 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2048, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2048, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2048, allocations: 0 / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.205, allocations: 51.97 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.2056, allocations: 316.6 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2057, allocations: 58.55 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.2058, allocations: 36.97 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2058, allocations: 3.938 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.206, allocations: 79.45 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2061, allocations: 4 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004193/0.2065, allocations: 149.6 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2065, allocations: 55.36 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.2066, allocations: 125.7 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2066, allocations: 25.7 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.2067, allocations: 96.33 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.2067, allocations: 15.73 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.2067, allocations: 8 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.2068, allocations: 314.8 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.2068, allocations: 27.92 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.2069, allocations: 58.92 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/0.207, allocations: 39.92 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.207, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001968/0.2072, allocations: 125.5 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2072, allocations: 4 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2073, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2073, allocations: 0 / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.2074, allocations: 16 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2074, allocations: 7.938 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.2074, allocations: 4 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.2075, allocations: 4 kB / 0.9841 GB, free: 22.75 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 9.152e-05/0.2076, allocations: 123.3 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.2076, allocations: 7.906 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.2076, allocations: 16.36 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2076, allocations: 0 / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2076, allocations: 3.984 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2076, allocations: 3.953 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.208, allocations: 386.5 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.208, allocations: 4 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.2081, allocations: 4 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2081, allocations: 0 / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2081, allocations: 7.922 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2081, allocations: 3.953 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2081, allocations: 0 / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.2083, allocations: 211.9 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.2084, allocations: 85.02 kB / 0.985 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2084, allocations: 7.984 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2085, allocations: 4 kB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.2085, allocations: 11.94 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2086, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.2086, allocations: 103.1 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2086, allocations: 4 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002529/0.2089, allocations: 36 kB / 0.9851 GB, free: 21.65 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.0003124/0.2092, allocations: 162.8 kB / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2094, allocations: 71.95 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2094, allocations: 0 / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.2095, allocations: 43.92 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2098, allocations: 12.77 kB / 0.9854 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.2102, allocations: 201.3 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2103, allocations: 0.6848 MB / 0.9863 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.2103, allocations: 8.172 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.2104, allocations: 11.44 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2104, allocations: 4 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.003244/0.2136, allocations: 1.34 MB / 0.9876 GB, free: 19.09 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)