Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") 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.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.001013/0.001013, allocations: 183.9 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.345/1.345, allocations: 205.4 MB / 0.5785 GB, free: 20.53 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.0007051/0.0007051, allocations: 85.89 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 11.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.2859, allocations: 133.8 MB / 1.032 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.2862, allocations: 83.94 kB / 1.032 GB, free: 10.02 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.008319/0.2945, allocations: 3 MB / 1.035 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.135e-06/0.2946, allocations: 3.984 kB / 1.035 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2946, allocations: 4 kB / 1.035 GB, free: 7.004 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.0004442/0.295, allocations: 420.9 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2951, allocations: 12.03 kB / 1.035 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2951, allocations: 12.84 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.2952, allocations: 172.2 kB / 1.035 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.2952, allocations: 4.375 kB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2953, allocations: 8.312 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2954, allocations: 74.2 kB / 1.036 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2954, allocations: 192 / 1.036 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2955, allocations: 15.92 kB / 1.036 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2955, allocations: 0 / 1.036 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.2956, allocations: 35.98 kB / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.2961, allocations: 320.8 kB / 1.036 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2962, allocations: 54.44 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.2963, allocations: 36.97 kB / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2963, allocations: 0 / 1.036 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.2965, allocations: 83.38 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2965, allocations: 0 / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003478/0.2969, allocations: 149.5 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2969, allocations: 55.41 kB / 1.036 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.297, allocations: 125.8 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.297, allocations: 29.64 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.2971, allocations: 92.05 kB / 1.036 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.2971, allocations: 11.89 kB / 1.037 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.2971, allocations: 4 kB / 1.037 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.2972, allocations: 318.8 kB / 1.037 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.2973, allocations: 35.97 kB / 1.037 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.2974, allocations: 51.42 kB / 1.037 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2975, allocations: 95.33 kB / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2975, allocations: 0 / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002204/0.2978, allocations: 117.5 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2978, allocations: 7.938 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2978, allocations: 4 kB / 1.037 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2978, allocations: 64 / 1.037 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.2979, allocations: 19.92 kB / 1.037 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2979, allocations: 4 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.298, allocations: 7.906 kB / 1.037 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.298, allocations: 11.98 kB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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.656e-05/0.2981, allocations: 117.8 kB / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.2981, allocations: 4 kB / 1.037 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.2981, allocations: 12.38 kB / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2981, allocations: 4 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2982, allocations: 3.938 kB / 1.037 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2982, allocations: 3.984 kB / 1.037 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.2986, allocations: 382.3 kB / 1.038 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2986, allocations: 0 / 1.038 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.2986, allocations: 11.98 kB / 1.038 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2986, allocations: 4 kB / 1.038 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2986, allocations: 64 / 1.038 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2986, allocations: 4 kB / 1.038 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2987, allocations: 0 / 1.038 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2989, allocations: 223.8 kB / 1.038 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.2989, allocations: 85.02 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.299, allocations: 4 kB / 1.038 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.299, allocations: 7.984 kB / 1.038 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.2991, allocations: 7.938 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2991, allocations: 7.984 kB / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.2992, allocations: 87.94 kB / 1.038 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2992, allocations: 0 / 1.038 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002748/0.2994, allocations: 51.92 kB / 1.038 GB, free: 3.309 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.0002859/0.2997, allocations: 179.9 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3, allocations: 79.89 kB / 1.038 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3, allocations: 4.125 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.3001, allocations: 39.92 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3003, allocations: 14.22 kB / 1.038 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.3006, allocations: 205.1 kB / 1.039 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3008, allocations: 0.6848 MB / 1.039 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.3009, allocations: 7.984 kB / 1.039 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3009, allocations: 7.438 kB / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.3009, allocations: 0 / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of Templates: time 0.003435/0.3044, allocations: 1.517 MB / 1.041 GB, free: 0.5391 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)