Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.753/3.753, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.002175/0.002174, allocations: 186.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.394/4.394, 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.001215/0.001214, allocations: 86.8 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008356/0.0008359, allocations: 11.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3402, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.6924, allocations: 133.5 MB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005127/0.693, allocations: 83.95 kB / 1.03 GB, free: 11.79 MB / 0.6824 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.0199/0.713, allocations: 3.006 MB / 1.033 GB, free: 8.781 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.815e-06/0.713, allocations: 0 / 1.033 GB, free: 8.781 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.7131, allocations: 4 kB / 1.033 GB, free: 8.777 MB / 0.6824 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.001092/0.7142, allocations: 428.9 kB / 1.033 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.7142, allocations: 8.031 kB / 1.033 GB, free: 8.293 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.7143, allocations: 8.844 kB / 1.033 GB, free: 8.285 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.7146, allocations: 168.4 kB / 1.033 GB, free: 8.082 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.7146, allocations: 4.375 kB / 1.034 GB, free: 8.078 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.7147, allocations: 8.375 kB / 1.034 GB, free: 8.07 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.7151, allocations: 74.16 kB / 1.034 GB, free: 7.992 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.7151, allocations: 192 / 1.034 GB, free: 7.992 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.7151, allocations: 7.875 kB / 1.034 GB, free: 7.984 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.7152, allocations: 0 / 1.034 GB, free: 7.984 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.7155, allocations: 43.97 kB / 1.034 GB, free: 7.941 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.7167, allocations: 324.7 kB / 1.034 GB, free: 7.574 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.717, allocations: 54.44 kB / 1.034 GB, free: 7.512 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.7172, allocations: 36.97 kB / 1.034 GB, free: 7.473 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.7172, allocations: 0 / 1.034 GB, free: 7.473 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003764/0.7176, allocations: 79.38 kB / 1.034 GB, free: 7.383 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 3.006e-06/0.7177, allocations: 4 kB / 1.034 GB, free: 7.379 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.0008732/0.7186, allocations: 149.5 kB / 1.034 GB, free: 7.227 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.7187, allocations: 63.34 kB / 1.034 GB, free: 7.152 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.7189, allocations: 113.8 kB / 1.034 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.7189, allocations: 29.7 kB / 1.034 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.719, allocations: 88.12 kB / 1.035 GB, free: 6.906 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.7191, allocations: 19.88 kB / 1.035 GB, free: 6.887 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.7191, allocations: 8 kB / 1.035 GB, free: 6.879 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.7193, allocations: 322.8 kB / 1.035 GB, free: 6.555 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.7195, allocations: 27.98 kB / 1.035 GB, free: 6.527 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.7198, allocations: 46.56 kB / 1.035 GB, free: 6.473 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.72, allocations: 35.98 kB / 1.035 GB, free: 6.438 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.72, allocations: 0 / 1.035 GB, free: 6.438 MB / 0.6824 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005822/0.7206, allocations: 117.5 kB / 1.035 GB, free: 6.316 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.7207, allocations: 4 kB / 1.035 GB, free: 6.312 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7207, allocations: 4 kB / 1.035 GB, free: 6.309 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7207, allocations: 4.062 kB / 1.035 GB, free: 6.305 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.721, allocations: 15.92 kB / 1.035 GB, free: 6.289 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.721, allocations: 4 kB / 1.035 GB, free: 6.285 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7212, allocations: 11.94 kB / 1.035 GB, free: 6.273 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.7212, allocations: 11.97 kB / 1.035 GB, free: 6.262 MB / 0.6824 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.0001908/0.7214, allocations: 117.8 kB / 1.035 GB, free: 6.137 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.7215, allocations: 7.906 kB / 1.035 GB, free: 6.129 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.7215, allocations: 12.38 kB / 1.035 GB, free: 6.117 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.7216, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7216, allocations: 0 / 1.035 GB, free: 6.117 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.7216, allocations: 4 kB / 1.035 GB, free: 6.113 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.7254, allocations: 382.4 kB / 1.036 GB, free: 5.684 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.7255, allocations: 0 / 1.036 GB, free: 5.684 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.7256, allocations: 11.98 kB / 1.036 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.7257, allocations: 0 / 1.036 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.7257, allocations: 8 kB / 1.036 GB, free: 5.664 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.7257, allocations: 0 / 1.036 GB, free: 5.664 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.7258, allocations: 480 / 1.036 GB, free: 5.664 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.7265, allocations: 227.3 kB / 1.036 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.7266, allocations: 88.95 kB / 1.036 GB, free: 5.32 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.7266, allocations: 0 / 1.036 GB, free: 5.32 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.7269, allocations: 11.98 kB / 1.036 GB, free: 5.309 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7269, allocations: 7.938 kB / 1.036 GB, free: 5.301 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.727, allocations: 4 kB / 1.036 GB, free: 5.297 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001107/0.7271, allocations: 91.27 kB / 1.036 GB, free: 5.207 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.92e-07/0.7271, allocations: 0 / 1.036 GB, free: 5.207 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0007968/0.7279, allocations: 55.91 kB / 1.036 GB, free: 5.152 MB / 0.6824 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.0007339/0.7287, allocations: 168.6 kB / 1.036 GB, free: 4.996 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.7293, allocations: 75.88 kB / 1.036 GB, free: 4.922 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7293, allocations: 8.125 kB / 1.036 GB, free: 4.914 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.7296, allocations: 31.98 kB / 1.036 GB, free: 4.883 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.7302, allocations: 10.06 kB / 1.036 GB, free: 4.875 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.731, allocations: 205.1 kB / 1.037 GB, free: 4.637 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.7315, allocations: 0.6887 MB / 1.037 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 9.013e-05/0.7316, allocations: 4 kB / 1.037 GB, free: 3.918 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.7317, allocations: 15.42 kB / 1.037 GB, free: 3.906 MB / 0.6824 GB Notification: Performance of SimCode: time 1.022e-06/0.7317, allocations: 0 / 1.037 GB, free: 3.906 MB / 0.6824 GB Notification: Performance of Templates: time 0.008568/0.7403, allocations: 1.523 MB / 1.039 GB, free: 2.383 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)