Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.789/1.789, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001309, allocations: 176.4 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009065/0.0009068, allocations: 99.88 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.746e-05, allocations: 4 kB / 0.8517 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6637, allocations: 115.3 MB / 0.9644 GB, free: 79.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.861, allocations: 139.3 MB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.8613, allocations: 80.64 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009008/0.8704, allocations: 2.954 MB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8704, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8704, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 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.0005084/0.8709, allocations: 417.5 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.871, allocations: 12.78 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.871, allocations: 8.938 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8712, allocations: 167.5 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.8712, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.8712, allocations: 4.531 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.813e-05/0.8713, allocations: 25.58 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.8714, allocations: 53.67 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8714, allocations: 0 / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.8714, allocations: 4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8715, allocations: 1.812 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.872, allocations: 292.8 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.8721, allocations: 34.58 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.8722, allocations: 24.98 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.8722, allocations: 5.25 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.8723, allocations: 78.77 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.8723, allocations: 0.5938 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002365/0.8726, allocations: 94.86 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8726, allocations: 59.39 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.8727, allocations: 112.8 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.8727, allocations: 25.7 kB / 1.105 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.8728, allocations: 92.31 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.8728, allocations: 15.75 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.8729, allocations: 2.344 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.873, allocations: 329 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.873, allocations: 12 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.8731, allocations: 38.58 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.8732, allocations: 23.98 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8732, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001523/0.8733, allocations: 97.5 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8733, allocations: 4.781 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8733, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.8734, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.8735, allocations: 19.92 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8735, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.8736, allocations: 12.06 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.8736, allocations: 5.875 kB / 1.105 GB, free: 11.37 MB / 0.7136 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 () * 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 9.173e-05/0.8737, allocations: 110.1 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.8737, allocations: 11.89 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.8737, allocations: 8.625 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.8737, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8738, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8738, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.8741, allocations: 343 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8741, allocations: 3.984 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.8742, allocations: 4 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.8742, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.8742, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8742, allocations: 2.438 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8742, allocations: 4 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.8744, allocations: 203.3 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.8745, allocations: 81.05 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.8745, allocations: 0 / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.8746, allocations: 7.984 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.8747, allocations: 11.42 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.8747, allocations: 4 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.8747, allocations: 98.11 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8747, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002931/0.875, allocations: 43.94 kB / 1.106 GB, free: 10.37 MB / 0.7136 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 () * 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.0003545/0.8754, allocations: 177.9 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.8755, allocations: 47.94 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8755, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.924e-05/0.8756, allocations: 24 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.8758, allocations: 20.92 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.8761, allocations: 98.83 kB / 1.107 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.8763, allocations: 0.6892 MB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.741e-05/0.8764, allocations: 4.188 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.8764, allocations: 15.44 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of SimCode: time 1.954e-06/0.8764, allocations: 3.938 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of Templates: time 0.003781/0.8802, allocations: 1.497 MB / 1.109 GB, free: 7.805 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)