Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 288.3 MB / 303.2 MB, free: 8.148 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.001199/0.001199, allocations: 186.1 kB / 371.8 MB, free: 10.27 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.579/1.579, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007972/0.0007972, allocations: 87.5 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 12.47 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6972/0.9136, allocations: 140 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9139, allocations: 84.47 kB / 1.116 GB, free: 16.42 MB / 0.6823 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.008864/0.9227, allocations: 2.985 MB / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9228, allocations: 0 / 1.119 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.9228, allocations: 7.812 kB / 1.119 GB, free: 31.96 MB / 0.698 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.0005494/0.9233, allocations: 428.9 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9234, allocations: 7.531 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.9234, allocations: 3.812 kB / 1.12 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.9236, allocations: 170.8 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.9236, allocations: 6.625 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.9236, allocations: 7.688 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.9238, allocations: 73.56 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.9239, allocations: 0 / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.9239, allocations: 3.875 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.9239, allocations: 3.906 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.924, allocations: 36.22 kB / 1.12 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.9246, allocations: 321.7 kB / 1.12 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.9247, allocations: 56.58 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.9248, allocations: 4 kB / 1.12 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.925, allocations: 80.98 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.925, allocations: 0 / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000388/0.9254, allocations: 156.2 kB / 1.12 GB, free: 30.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.9254, allocations: 59.02 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.9255, allocations: 112.3 kB / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.9256, allocations: 35.88 kB / 1.121 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.9256, allocations: 89.3 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.9256, allocations: 11.62 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.9257, allocations: 3.375 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9258, allocations: 325.2 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.9259, allocations: 31.91 kB / 1.121 GB, free: 30.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.9259, allocations: 53.22 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.926, allocations: 31.86 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.926, allocations: 7.906 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001996/0.9262, allocations: 107.6 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.9263, allocations: 5.312 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9263, allocations: 3.812 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.9263, allocations: 0 / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.9264, allocations: 18.09 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9264, allocations: 7.938 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.9265, allocations: 7.719 kB / 1.121 GB, free: 30.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.9265, allocations: 6.969 kB / 1.121 GB, free: 30.22 MB / 0.698 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 9.8e-05/0.9266, allocations: 123.2 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.9266, allocations: 3.906 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.9267, allocations: 4.375 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.9267, allocations: 3.906 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9267, allocations: 2.953 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.9267, allocations: 4 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.9271, allocations: 389.5 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9271, allocations: 0 / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.9272, allocations: 7.656 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9272, allocations: 0 / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.9272, allocations: 10.77 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9272, allocations: 4 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9272, allocations: 0 / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.9275, allocations: 219 kB / 1.122 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.9275, allocations: 88.77 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.9275, allocations: 0 / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.9276, allocations: 10.41 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.9277, allocations: 6.891 kB / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.9277, allocations: 0 / 1.122 GB, free: 29.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.9278, allocations: 98.2 kB / 1.122 GB, free: 29.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9278, allocations: 3.938 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003003/0.9281, allocations: 49.72 kB / 1.122 GB, free: 29.45 MB / 0.698 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.0003738/0.9285, allocations: 171.3 kB / 1.122 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.9287, allocations: 78.3 kB / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9287, allocations: 0 / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.9288, allocations: 40.88 kB / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.929, allocations: 7.75 kB / 1.123 GB, free: 29.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.9294, allocations: 208.7 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.9296, allocations: 0.6928 MB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.9297, allocations: 8.047 kB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.9297, allocations: 14.05 kB / 1.123 GB, free: 28.47 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9297, allocations: 0 / 1.123 GB, free: 28.47 MB / 0.698 GB Notification: Performance of Templates: time 0.003733/0.9334, allocations: 1.511 MB / 1.125 GB, free: 28.34 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)