Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008133/0.008133, allocations: 171.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.752/1.752, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005626/0.0005623, allocations: 12.94 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2326, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002609/0.2353, allocations: 1.215 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2373, allocations: 0.7606 MB / 0.7898 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.615e-05/0.2373, allocations: 4 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.2374, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.2375, allocations: 11.86 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.2382, allocations: 103.7 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.2384, allocations: 75.83 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2385, allocations: 7.984 kB / 0.79 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.2386, allocations: 35.86 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2387, allocations: 31.89 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2388, allocations: 0 / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002942/0.2391, allocations: 95.84 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.2391, allocations: 11.92 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.2392, allocations: 49.56 kB / 0.7902 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.2396, allocations: 147.9 kB / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2396, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2396, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2396, allocations: 0 / 0.7904 GB, free: 9.012 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.0008031/0.2404, allocations: 405 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2405, allocations: 8.031 kB / 0.7907 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.2405, allocations: 12.83 kB / 0.7908 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2407, allocations: 184.1 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.2408, allocations: 12.36 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.2408, allocations: 4.375 kB / 0.7909 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.2411, allocations: 69.97 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2411, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2411, allocations: 4 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2412, allocations: 4 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.2414, allocations: 43.97 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008107/0.2422, allocations: 316.7 kB / 0.7914 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.2424, allocations: 54.56 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.2426, allocations: 32.97 kB / 0.7915 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2426, allocations: 0 / 0.7915 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.2429, allocations: 83.44 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.2429, allocations: 4 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005523/0.2434, allocations: 149.5 kB / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2435, allocations: 55.41 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2436, allocations: 118.2 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2437, allocations: 29.7 kB / 0.7919 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.2437, allocations: 96.12 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.2438, allocations: 15.75 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.2438, allocations: 21.7 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.244, allocations: 318.8 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2441, allocations: 27.98 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2442, allocations: 58.59 kB / 0.7924 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.2445, allocations: 82.78 kB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2445, allocations: 4 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003754/0.2449, allocations: 129.4 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2449, allocations: 4 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.245, allocations: 3.984 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.245, allocations: 4 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2451, allocations: 11.94 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2451, allocations: 0 / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.2453, allocations: 19.95 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2453, allocations: 8 kB / 0.7926 GB, free: 6.418 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.2454, allocations: 120.1 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2455, allocations: 4 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.2455, allocations: 16.36 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2455, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2455, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2455, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.2462, allocations: 398.2 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2462, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.2463, allocations: 4 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2463, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2463, allocations: 4 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2463, allocations: 3.984 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2463, allocations: 7.938 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.2467, allocations: 215.4 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.2468, allocations: 77.11 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.2468, allocations: 4 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.247, allocations: 7.984 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.247, allocations: 11.94 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2471, allocations: 7.984 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.2471, allocations: 91.27 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2472, allocations: 0 / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005589/0.2477, allocations: 36 kB / 0.7936 GB, free: 5.332 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004487/0.2482, allocations: 164.7 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.2485, allocations: 79.89 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2485, allocations: 0 / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.2487, allocations: 39.97 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2492, allocations: 16.06 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.2497, allocations: 209 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2501, allocations: 0.6887 MB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.2501, allocations: 12.53 kB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2502, allocations: 11.44 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2502, allocations: 0 / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.005703/0.2559, allocations: 1.356 MB / 0.7961 GB, free: 2.727 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) Environment - environmentSimulation: