Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 289.9 MB / 297.4 MB, free: 6.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.001017/0.001018, allocations: 176.9 kB / 366.7 MB, free: 1.637 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.388/1.388, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008256, allocations: 90.83 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.828e-05/1.83e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5596, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.7312, allocations: 140.2 MB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.7315, allocations: 83.95 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.008843/0.7404, allocations: 2.954 MB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7404, allocations: 0 / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7404, allocations: 1.156 kB / 1.113 GB, free: 6.961 MB / 0.7136 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.0004678/0.7409, allocations: 420.7 kB / 1.114 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.741, allocations: 8.906 kB / 1.114 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.741, allocations: 7.906 kB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7411, allocations: 175.7 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.7412, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.7412, allocations: 5.094 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.967e-05/0.7413, allocations: 23 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.7414, allocations: 53.67 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7414, allocations: 4.531 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.7414, allocations: 1.469 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.7415, allocations: 0 / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.7421, allocations: 292.1 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.7421, allocations: 42.56 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.7422, allocations: 23.58 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.7422, allocations: 0 / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.7424, allocations: 79.36 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7424, allocations: 0 / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002424/0.7426, allocations: 93.59 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7427, allocations: 56.56 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.7428, allocations: 120.9 kB / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7428, allocations: 26.98 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.7429, allocations: 88.33 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.7429, allocations: 19.73 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7429, allocations: 5.188 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.743, allocations: 314.8 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.7431, allocations: 21.97 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.7431, allocations: 39.33 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.7432, allocations: 20.86 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7432, allocations: 4 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001638/0.7434, allocations: 93.02 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7434, allocations: 4 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7434, allocations: 0 / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7434, allocations: 4 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.7435, allocations: 11.98 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7435, allocations: 6.438 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.7436, allocations: 7.984 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.7436, allocations: 10.25 kB / 1.115 GB, free: 4.73 MB / 0.7136 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 7.33e-05/0.7437, allocations: 110.2 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.7437, allocations: 9.125 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.7438, allocations: 4.625 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7438, allocations: 4.062 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7438, allocations: 4 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7438, allocations: 6.234 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.7441, allocations: 339 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7441, allocations: 0 / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.7442, allocations: 4 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7442, allocations: 0 / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.7442, allocations: 3.984 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7442, allocations: 4 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7442, allocations: 4 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.7444, allocations: 195.3 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.7445, allocations: 80.2 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.7445, allocations: 7.984 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.7446, allocations: 4 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.7446, allocations: 3.984 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7447, allocations: 4 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.7447, allocations: 92.59 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7447, allocations: 3.938 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003137/0.745, allocations: 47.92 kB / 1.116 GB, free: 3.746 MB / 0.7136 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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.0003379/0.7454, allocations: 168.5 kB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.7455, allocations: 61.88 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.7455, allocations: 0 / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.7456, allocations: 24 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.7458, allocations: 11.27 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.746, allocations: 96.44 kB / 1.116 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.7463, allocations: 0.6931 MB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.7463, allocations: 9.547 kB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.7464, allocations: 11.44 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of SimCode: time 1.453e-06/0.7464, allocations: 0 / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.003658/0.75, allocations: 1.501 MB / 1.119 GB, free: 1.18 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)