Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.279/1.279, 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.0009366/0.0009366, allocations: 184.5 kB / 327.6 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.375/1.375, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.000752/0.0007523, allocations: 78.36 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 13.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.3078, allocations: 133.8 MB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.3081, allocations: 83.95 kB / 1.032 GB, free: 9.672 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.008404/0.3165, allocations: 2.996 MB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3165, allocations: 0 / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3165, allocations: 4 kB / 1.035 GB, free: 6.664 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.000422/0.317, allocations: 424.9 kB / 1.035 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.317, allocations: 8.031 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3171, allocations: 8.844 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.3172, allocations: 172.2 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.3172, allocations: 8.359 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3172, allocations: 8.375 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3174, allocations: 70.16 kB / 1.036 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3174, allocations: 4.188 kB / 1.036 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3174, allocations: 7.938 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3174, allocations: 0 / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.3175, allocations: 43.97 kB / 1.036 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.3181, allocations: 316.8 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3182, allocations: 54.5 kB / 1.036 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.3183, allocations: 40.91 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3183, allocations: 4 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3185, allocations: 75.38 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3185, allocations: 4 kB / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000356/0.3188, allocations: 145.5 kB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3189, allocations: 63.39 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.319, allocations: 121.8 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.319, allocations: 25.7 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.3191, allocations: 104 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3191, allocations: 7.906 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.3191, allocations: 4 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3193, allocations: 322.8 kB / 1.037 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3194, allocations: 27.98 kB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.3195, allocations: 50.56 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3196, allocations: 82.78 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3196, allocations: 3.938 kB / 1.037 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.3199, allocations: 121.5 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3199, allocations: 4 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3199, allocations: 0 / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3199, allocations: 4 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.32, allocations: 11.98 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3201, allocations: 0 / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.3201, allocations: 11.91 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.3201, allocations: 8.062 kB / 1.037 GB, free: 4.098 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 0.0001042/0.3203, allocations: 129.7 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.3203, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.3203, allocations: 12.38 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3203, allocations: 3.984 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3203, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3203, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3208, allocations: 394.3 kB / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3208, allocations: 0 / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.3209, allocations: 7.984 kB / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3209, allocations: 0 / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3209, allocations: 0 / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3209, allocations: 3.938 kB / 1.038 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3209, allocations: 4 kB / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3212, allocations: 215.4 kB / 1.038 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.3213, allocations: 89 kB / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3213, allocations: 0 / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3214, allocations: 4 kB / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3214, allocations: 19.92 kB / 1.038 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.3215, allocations: 0 / 1.038 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.3215, allocations: 95.27 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3215, allocations: 0 / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002983/0.3218, allocations: 51.92 kB / 1.038 GB, free: 2.988 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.0003977/0.3222, allocations: 174.6 kB / 1.038 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3225, allocations: 75.91 kB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3225, allocations: 0 / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.3226, allocations: 40.3 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3228, allocations: 11.19 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.3233, allocations: 205.4 kB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.3235, allocations: 0.6887 MB / 1.039 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.3236, allocations: 11.98 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.3236, allocations: 11.44 kB / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of SimCode: time 5.31e-07/0.3236, allocations: 0 / 1.039 GB, free: 1.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.003749/0.3274, allocations: 1.501 MB / 1.041 GB, free: 244 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)