Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 252 MB / 267.9 MB, free: 10.93 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.0008514/0.0008514, allocations: 179.3 kB / 327.6 MB, free: 2.168 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.328/1.328, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0006601/0.0006602, allocations: 94.66 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 13.22 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.3066, allocations: 133.8 MB / 1.032 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3069, allocations: 83.95 kB / 1.032 GB, free: 10.07 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.008016/0.3149, allocations: 2.992 MB / 1.035 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3149, allocations: 0 / 1.035 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3149, allocations: 4 kB / 1.035 GB, free: 7.062 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.0004906/0.3154, allocations: 424.9 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3155, allocations: 12.03 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3155, allocations: 12.78 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.603e-05/0.3156, allocations: 176.2 kB / 1.035 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3157, allocations: 4.375 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3157, allocations: 8.375 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3159, allocations: 74.14 kB / 1.036 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3159, allocations: 192 / 1.036 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3159, allocations: 11.94 kB / 1.036 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3159, allocations: 0 / 1.036 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.316, allocations: 39.97 kB / 1.036 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.3166, allocations: 316.8 kB / 1.036 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3167, allocations: 58.44 kB / 1.036 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.3168, allocations: 36.97 kB / 1.036 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3168, allocations: 3.984 kB / 1.036 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.3169, allocations: 79.38 kB / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.317, allocations: 0 / 1.036 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.3173, allocations: 153.6 kB / 1.036 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3173, allocations: 59.34 kB / 1.036 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.3174, allocations: 117.8 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3174, allocations: 25.7 kB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.3175, allocations: 100 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.3175, allocations: 3.906 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.3175, allocations: 8 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.3176, allocations: 322.8 kB / 1.037 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.3177, allocations: 27.98 kB / 1.037 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.3178, allocations: 50.55 kB / 1.037 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3179, allocations: 78.5 kB / 1.037 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3179, allocations: 7.938 kB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002089/0.3182, allocations: 121.5 kB / 1.037 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.3182, allocations: 4 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3182, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3182, allocations: 4 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.3183, allocations: 16.05 kB / 1.037 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3183, allocations: 0 / 1.037 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.3184, allocations: 11.91 kB / 1.037 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3184, allocations: 7.984 kB / 1.037 GB, free: 4.488 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 7.365e-05/0.3185, allocations: 125.7 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.3185, allocations: 0 / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.3185, allocations: 12.38 kB / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3185, allocations: 4 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3185, allocations: 0 / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3185, allocations: 0 / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.3189, allocations: 386.3 kB / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3189, allocations: 7.938 kB / 1.038 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.319, allocations: 11.92 kB / 1.038 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.319, allocations: 4 kB / 1.038 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.319, allocations: 4 kB / 1.038 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.319, allocations: 0 / 1.038 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.319, allocations: 0 / 1.038 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.3193, allocations: 211.4 kB / 1.038 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.3193, allocations: 89.02 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3193, allocations: 0 / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.3194, allocations: 7.984 kB / 1.038 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3195, allocations: 15.92 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3195, allocations: 4 kB / 1.038 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.3195, allocations: 91.92 kB / 1.038 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3195, allocations: 4 kB / 1.038 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002544/0.3198, allocations: 51.92 kB / 1.038 GB, free: 3.379 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.0002928/0.3201, allocations: 175.1 kB / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3203, allocations: 71.95 kB / 1.038 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3203, allocations: 4.125 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.3204, allocations: 43.86 kB / 1.038 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3206, allocations: 10.23 kB / 1.038 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.321, allocations: 205.1 kB / 1.039 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3212, allocations: 0.6887 MB / 1.039 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3212, allocations: 4 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3213, allocations: 15.42 kB / 1.039 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3213, allocations: 0 / 1.039 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of Templates: time 0.003351/0.3246, allocations: 1.504 MB / 1.041 GB, free: 0.625 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)