Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 252 MB / 267.9 MB, free: 10.94 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.0009087/0.0009087, allocations: 183.1 kB / 327.6 MB, free: 2.188 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.327/1.327, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0007046/0.0007045, allocations: 87.17 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 10.81 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 106.3 MB / 0.9012 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.3092, allocations: 133.7 MB / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.3094, allocations: 83.95 kB / 1.032 GB, free: 10.1 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.008136/0.3176, allocations: 3 MB / 1.035 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3176, allocations: 0 / 1.035 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3176, allocations: 4 kB / 1.035 GB, free: 7.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000467/0.3181, allocations: 424.9 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3182, allocations: 8.031 kB / 1.035 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.3182, allocations: 8.844 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3184, allocations: 176.2 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.3184, allocations: 4.375 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3184, allocations: 8.359 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3186, allocations: 74.16 kB / 1.036 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3186, allocations: 192 / 1.036 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3186, allocations: 11.94 kB / 1.036 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3187, allocations: 0 / 1.036 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3188, allocations: 47.91 kB / 1.036 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.3194, allocations: 312.8 kB / 1.036 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3195, allocations: 54.44 kB / 1.036 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.3196, allocations: 36.97 kB / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3197, allocations: 0 / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3198, allocations: 83.44 kB / 1.036 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3198, allocations: 0 / 1.036 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003762/0.3202, allocations: 149.5 kB / 1.036 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3203, allocations: 63.33 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.3204, allocations: 117.8 kB / 1.036 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3204, allocations: 29.7 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.3205, allocations: 96.03 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.3205, allocations: 11.91 kB / 1.036 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.3205, allocations: 0 / 1.036 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3206, allocations: 318.8 kB / 1.037 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.3207, allocations: 35.97 kB / 1.037 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.3208, allocations: 50.56 kB / 1.037 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.321, allocations: 86.47 kB / 1.037 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.321, allocations: 3.938 kB / 1.037 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.3212, allocations: 113.5 kB / 1.037 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3213, allocations: 4 kB / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3213, allocations: 0 / 1.037 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3213, allocations: 4 kB / 1.037 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.3214, allocations: 20.05 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3214, allocations: 0 / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.3215, allocations: 15.91 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3215, allocations: 4 kB / 1.037 GB, free: 4.52 MB / 0.6823 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 () * 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 8.676e-05/0.3216, allocations: 121.7 kB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.3216, allocations: 7.984 kB / 1.037 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.3216, allocations: 8.375 kB / 1.037 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3217, allocations: 4 kB / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3217, allocations: 0 / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3217, allocations: 0 / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3221, allocations: 394.3 kB / 1.038 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3221, allocations: 0 / 1.038 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.3222, allocations: 7.938 kB / 1.038 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3222, allocations: 4 kB / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3222, allocations: 3.984 kB / 1.038 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3222, allocations: 4 kB / 1.038 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3222, allocations: 0 / 1.038 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.3225, allocations: 207.4 kB / 1.038 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.3226, allocations: 89 kB / 1.038 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3226, allocations: 11.94 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.3227, allocations: 4 kB / 1.038 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3227, allocations: 11.92 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3227, allocations: 0 / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.3228, allocations: 95.92 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3228, allocations: 0 / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002842/0.3231, allocations: 47.94 kB / 1.038 GB, free: 3.418 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,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.00036/0.3235, allocations: 178.5 kB / 1.038 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3237, allocations: 75.94 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3237, allocations: 0 / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.3238, allocations: 48.03 kB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.324, allocations: 5.891 kB / 1.038 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3244, allocations: 201.1 kB / 1.039 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3246, allocations: 0.6926 MB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3247, allocations: 4 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3247, allocations: 15.44 kB / 1.039 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3247, allocations: 3.938 kB / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of Templates: time 0.003598/0.3283, allocations: 1.501 MB / 1.041 GB, free: 0.6562 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)