Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, 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.008243/0.008243, allocations: 170 kB / 16.27 MB, free: 6.66 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.482/1.482, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.786/1.786, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005044/0.0005044, allocations: 15.84 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.225, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001511/0.2266, allocations: 1.227 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2277, allocations: 0.7567 MB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.2278, allocations: 0 / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.2278, allocations: 0 / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.2279, allocations: 15.86 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.2283, allocations: 103.8 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.2284, allocations: 67.84 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.2285, allocations: 8 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.2286, allocations: 35.83 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.2287, allocations: 27.91 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2287, allocations: 4 kB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.2289, allocations: 91.84 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.229, allocations: 23.91 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.229, allocations: 53.56 kB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2293, allocations: 135.9 kB / 0.7904 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2293, allocations: 4 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2293, allocations: 0 / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2293, allocations: 0 / 0.7904 GB, free: 9.023 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.0005457/0.2299, allocations: 401 kB / 0.7907 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2299, allocations: 12.03 kB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.23, allocations: 12.84 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.2301, allocations: 180.1 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.2301, allocations: 8.359 kB / 0.7909 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2301, allocations: 4.375 kB / 0.7909 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.2303, allocations: 77.95 kB / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2303, allocations: 0 / 0.791 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2303, allocations: 3.984 kB / 0.791 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2304, allocations: 0 / 0.791 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.2305, allocations: 43.98 kB / 0.7911 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.2311, allocations: 320.7 kB / 0.7914 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2312, allocations: 50.56 kB / 0.7914 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.2313, allocations: 36.97 kB / 0.7915 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2314, allocations: 3.984 kB / 0.7915 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2316, allocations: 87.31 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2316, allocations: 3.938 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003696/0.232, allocations: 145.6 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.232, allocations: 59.39 kB / 0.7917 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.2321, allocations: 125.8 kB / 0.7919 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2321, allocations: 29.7 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.2322, allocations: 88.12 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2322, allocations: 19.75 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.2322, allocations: 17.72 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2323, allocations: 322.8 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.2324, allocations: 27.98 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.2325, allocations: 54.55 kB / 0.7924 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2327, allocations: 74.5 kB / 0.7925 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2327, allocations: 4 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.2329, allocations: 129.4 kB / 0.7926 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2329, allocations: 4 kB / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2329, allocations: 0 / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2329, allocations: 0 / 0.7926 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.233, allocations: 19.92 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2331, allocations: 4.062 kB / 0.7926 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.2331, allocations: 15.89 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.2331, allocations: 4 kB / 0.7926 GB, free: 6.434 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 7.947e-05/0.2332, allocations: 117.8 kB / 0.7928 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.2333, allocations: 4 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.2333, allocations: 12.38 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2333, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2333, allocations: 4 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.2333, allocations: 3.984 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.2338, allocations: 390.3 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.2338, allocations: 7.984 kB / 0.7932 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.2338, allocations: 4 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2338, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2338, allocations: 8 kB / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2338, allocations: 0 / 0.7932 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2339, allocations: 3.938 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.2341, allocations: 215.8 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.2342, allocations: 81.11 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.2342, allocations: 0 / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.2343, allocations: 15.98 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.2343, allocations: 7.938 kB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2343, allocations: 3.984 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.2344, allocations: 91.28 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2344, allocations: 3.938 kB / 0.7936 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002996/0.2347, allocations: 39.98 kB / 0.7936 GB, free: 5.34 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.0002941/0.235, allocations: 169.3 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.2352, allocations: 75.89 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2352, allocations: 0 / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.2353, allocations: 40.11 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.2356, allocations: 5.969 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.2359, allocations: 213 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2362, allocations: 0.6926 MB / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.2362, allocations: 0 / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.2362, allocations: 15.42 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2362, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.003748/0.24, allocations: 1.355 MB / 0.7961 GB, free: 2.746 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) Environment - environmentSimulation: