Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001111/0.001112, allocations: 193.7 kB / 371.9 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.628/1.628, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0008917/0.0008919, allocations: 101.4 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 18.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6907/0.9276, allocations: 140 MB / 1.116 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.9279, allocations: 81.84 kB / 1.116 GB, free: 16.36 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.008881/0.9367, allocations: 2.986 MB / 1.119 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9368, allocations: 0 / 1.119 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.9368, allocations: 3.656 kB / 1.119 GB, free: 31.91 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.0007421/0.9376, allocations: 419.8 kB / 1.12 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.9376, allocations: 15.59 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.9377, allocations: 3.812 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.9379, allocations: 177.6 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.9379, allocations: 3.875 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.938, allocations: 7.594 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9382, allocations: 72.34 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.9382, allocations: 0 / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.9382, allocations: 3.875 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9383, allocations: 4 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.9384, allocations: 46.86 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.9391, allocations: 318 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.9392, allocations: 51.05 kB / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.9392, allocations: 0 / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.9394, allocations: 81.67 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9394, allocations: 4 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003845/0.9398, allocations: 149.7 kB / 1.12 GB, free: 30.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.9398, allocations: 55.28 kB / 1.121 GB, free: 30.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.9399, allocations: 114 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.94, allocations: 25.7 kB / 1.121 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.94, allocations: 95.98 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.9401, allocations: 18.58 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.9401, allocations: 0 / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9402, allocations: 321.6 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.9403, allocations: 29.89 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.9404, allocations: 58.73 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.9405, allocations: 39.28 kB / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9405, allocations: 0 / 1.121 GB, free: 30.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002211/0.9407, allocations: 114.2 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9407, allocations: 7.844 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.9408, allocations: 3.844 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.9408, allocations: 0 / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.9409, allocations: 14.62 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9409, allocations: 3.812 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.86e-05/0.941, allocations: 10.67 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.941, allocations: 3.875 kB / 1.121 GB, free: 30.16 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 0.000104/0.9411, allocations: 127.1 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.9411, allocations: 3.875 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.9412, allocations: 7.375 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.9412, allocations: 3.969 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9412, allocations: 0 / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9412, allocations: 0 / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.9416, allocations: 396 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9416, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.9417, allocations: 6.375 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9417, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9417, allocations: 6.938 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.9417, allocations: 3.844 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9417, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.942, allocations: 214.5 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.9421, allocations: 88.8 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.9421, allocations: 3.688 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.9422, allocations: 6.016 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.9422, allocations: 6.266 kB / 1.122 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9422, allocations: 4 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.9423, allocations: 98.03 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9423, allocations: 4 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002881/0.9426, allocations: 50.2 kB / 1.122 GB, free: 29.39 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.0003644/0.943, allocations: 171.7 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.9432, allocations: 84.12 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9432, allocations: 0 / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.9433, allocations: 37.22 kB / 1.123 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.9435, allocations: 11.66 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.9439, allocations: 205.2 kB / 1.123 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.9441, allocations: 0.6866 MB / 1.123 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.9442, allocations: 11.7 kB / 1.123 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.9442, allocations: 11.31 kB / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.9442, allocations: 0 / 1.123 GB, free: 28.42 MB / 0.698 GB Notification: Performance of Templates: time 0.003686/0.9479, allocations: 1.523 MB / 1.125 GB, free: 28.29 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)