Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 169.7 kB / 327.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007024/0.0007026, allocations: 82.36 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 13.31 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.3213, allocations: 134 MB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3216, allocations: 91.92 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.333, allocations: 3.615 MB / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3331, allocations: 0 / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.3331, allocations: 8 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008128/0.3339, allocations: 478.8 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.334, allocations: 11.97 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.334, allocations: 16.75 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3342, allocations: 184.7 kB / 1.036 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.3343, allocations: 4.375 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3343, allocations: 8.375 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3346, allocations: 105.8 kB / 1.037 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3346, allocations: 0 / 1.037 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3346, allocations: 0 / 1.037 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3346, allocations: 0 / 1.037 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3348, allocations: 75.95 kB / 1.037 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.3357, allocations: 384.5 kB / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3359, allocations: 70.55 kB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.336, allocations: 60.81 kB / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3361, allocations: 0 / 1.037 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3363, allocations: 111.3 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3363, allocations: 0 / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005396/0.3368, allocations: 237.4 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3369, allocations: 55.41 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.337, allocations: 150.5 kB / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.337, allocations: 29.64 kB / 1.038 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3371, allocations: 100.4 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3371, allocations: 19.95 kB / 1.038 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.3371, allocations: 4 kB / 1.038 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3373, allocations: 326.8 kB / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3374, allocations: 43.97 kB / 1.038 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3375, allocations: 76.27 kB / 1.038 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3377, allocations: 128.2 kB / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3377, allocations: 0 / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003183/0.3381, allocations: 165.3 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3381, allocations: 16.08 kB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3381, allocations: 0 / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3381, allocations: 0 / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3383, allocations: 23.92 kB / 1.039 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3383, allocations: 4 kB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.3384, allocations: 19.88 kB / 1.039 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3384, allocations: 7.984 kB / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.366e-05/0.3385, allocations: 122.1 kB / 1.039 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3385, allocations: 11.91 kB / 1.039 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.3386, allocations: 12.72 kB / 1.039 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3386, allocations: 3.984 kB / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3386, allocations: 0 / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3386, allocations: 7.938 kB / 1.039 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.3392, allocations: 466.3 kB / 1.039 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3392, allocations: 3.984 kB / 1.039 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.3393, allocations: 11.98 kB / 1.039 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3393, allocations: 4 kB / 1.039 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3393, allocations: 7.922 kB / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3393, allocations: 480 / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3393, allocations: 0 / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.3397, allocations: 283.3 kB / 1.039 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.3397, allocations: 89 kB / 1.04 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3398, allocations: 7.938 kB / 1.04 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3399, allocations: 12 kB / 1.04 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3399, allocations: 7.984 kB / 1.04 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.34, allocations: 3.984 kB / 1.04 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.901e-05/0.34, allocations: 107.2 kB / 1.04 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.34, allocations: 0 / 1.04 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003187/0.3404, allocations: 55.98 kB / 1.04 GB, free: 1.348 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003633/0.3407, allocations: 182 kB / 1.04 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3411, allocations: 123.9 kB / 1.04 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3411, allocations: 0 / 1.04 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3412, allocations: 64 kB / 1.04 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3415, allocations: 19.78 kB / 1.04 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.342, allocations: 265.3 kB / 1.04 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3422, allocations: 0.6927 MB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.821e-05/0.3423, allocations: 11.98 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.3423, allocations: 11.44 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of SimCode: time 2.816e-06/0.3423, allocations: 0 / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of Templates: time 0.00455/0.3469, allocations: 1.963 MB / 1.043 GB, free: 14 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)