Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.966/3.966, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002153/0.002153, allocations: 175 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.796/3.796, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001332/0.001332, allocations: 96.05 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007855/0.0007859, allocations: 11.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3254, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3508/0.6763, allocations: 133.5 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004476/0.6768, allocations: 83.95 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02085/0.6977, allocations: 3.006 MB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6977, allocations: 0 / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.268e-05/0.6978, allocations: 4 kB / 1.033 GB, free: 8.723 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.001026/0.6988, allocations: 432.9 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.6989, allocations: 8.031 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.699, allocations: 8.844 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.6992, allocations: 164.4 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.6993, allocations: 384 / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.6993, allocations: 8.375 kB / 1.034 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.6997, allocations: 74.14 kB / 1.034 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6997, allocations: 8.188 kB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.6998, allocations: 3.938 kB / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.6998, allocations: 0 / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.7001, allocations: 43.91 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.7013, allocations: 324.7 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.7017, allocations: 58.42 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.7019, allocations: 36.97 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/0.702, allocations: 4 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.7024, allocations: 79.38 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 5.4e-06/0.7024, allocations: 0 / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008938/0.7033, allocations: 153.5 kB / 1.034 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.7034, allocations: 51.41 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.7036, allocations: 121.8 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.7037, allocations: 25.7 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.7038, allocations: 92.14 kB / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.7039, allocations: 19.86 kB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.7039, allocations: 7.938 kB / 1.035 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.7041, allocations: 318.8 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.7044, allocations: 35.97 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.7046, allocations: 46.56 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.7049, allocations: 32.3 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7049, allocations: 4 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000652/0.7056, allocations: 121.5 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.7057, allocations: 4 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7057, allocations: 0 / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.7057, allocations: 4 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.706, allocations: 15.92 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.706, allocations: 0 / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.7062, allocations: 20.06 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.7062, allocations: 0 / 1.035 GB, free: 6.207 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.0002005/0.7065, allocations: 129.7 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.7065, allocations: 3.906 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.7066, allocations: 12.38 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.7066, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7066, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7066, allocations: 4 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.7077, allocations: 386.4 kB / 1.036 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7077, allocations: 0 / 1.036 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.7078, allocations: 8 kB / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.7079, allocations: 3.984 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.7079, allocations: 0 / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.7079, allocations: 4 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7079, allocations: 0 / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/0.7086, allocations: 215.3 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.7087, allocations: 92.94 kB / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.7088, allocations: 4 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.709, allocations: 8 kB / 1.036 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.7091, allocations: 15.91 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.7091, allocations: 0 / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001167/0.7093, allocations: 91.92 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7093, allocations: 4 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007757/0.7101, allocations: 51.92 kB / 1.036 GB, free: 5.094 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.0007227/0.7108, allocations: 168.2 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005744/0.7114, allocations: 71.91 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7115, allocations: 0 / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.7117, allocations: 44.09 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.7123, allocations: 8 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.7131, allocations: 201.7 kB / 1.037 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.7135, allocations: 0.6926 MB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.473e-05/0.7137, allocations: 4 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.7137, allocations: 11.44 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of SimCode: time 1.312e-06/0.7137, allocations: 0 / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of Templates: time 0.01268/0.7264, allocations: 1.528 MB / 1.039 GB, free: 2.324 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)