Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 284.9 MB / 292.4 MB, free: 10.45 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.001478/0.001478, allocations: 176.8 kB / 360.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.2 MB / 0.6191 GB, free: 12.16 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.001664/0.001664, allocations: 104.5 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.549e-05, allocations: 4 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.8086, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/1.054, allocations: 139.1 MB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.054, allocations: 84.44 kB / 1.099 GB, free: 1.188 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01428/1.069, allocations: 2.957 MB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/1.069, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.069, allocations: 0 / 1.102 GB, free: 14.29 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.0007001/1.069, allocations: 422.4 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.07, allocations: 8.031 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/1.07, allocations: 8.594 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.07, allocations: 171.8 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/1.07, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/1.07, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/1.07, allocations: 20.62 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/1.07, allocations: 61.23 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.07, allocations: 0.8125 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.07, allocations: 3.984 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.07, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/1.071, allocations: 298.2 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.071, allocations: 43.34 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/1.071, allocations: 25.67 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/1.071, allocations: 1.094 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/1.071, allocations: 67.8 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/1.071, allocations: 0.875 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003634/1.072, allocations: 93.61 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.072, allocations: 52.53 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.072, allocations: 116.8 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.072, allocations: 26.58 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/1.072, allocations: 92.27 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/1.072, allocations: 25.61 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/1.072, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.072, allocations: 318.8 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/1.072, allocations: 23.98 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/1.073, allocations: 40.53 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/1.073, allocations: 23.97 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.073, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002603/1.073, allocations: 91.08 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.073, allocations: 9.734 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.073, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.073, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/1.073, allocations: 10.34 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.073, allocations: 7.938 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/1.073, allocations: 7.984 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/1.073, allocations: 4 kB / 1.104 GB, free: 12.06 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 0.0001171/1.074, allocations: 114.5 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002568/1.074, allocations: 93.58 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.074, allocations: 8 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/1.074, allocations: 8.609 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.074, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.074, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.074, allocations: 3.953 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/1.075, allocations: 338.1 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/1.075, allocations: 6.156 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/1.075, allocations: 14.3 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.075, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.075, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.075, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.075, allocations: 3.953 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/1.075, allocations: 190.6 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/1.075, allocations: 92.94 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.075, allocations: 8 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.075, allocations: 4 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/1.075, allocations: 7.938 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1.075, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.847e-05/1.076, allocations: 91.27 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.076, allocations: 0 / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004821/1.076, allocations: 47.94 kB / 1.105 GB, free: 10.96 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.001095/1.077, allocations: 0.7937 MB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002274/1.077, allocations: 48 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.077, allocations: 4.125 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/1.078, allocations: 37.42 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/1.078, allocations: 0 / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/1.078, allocations: 148.5 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/1.079, allocations: 0.6885 MB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.242e-05/1.079, allocations: 5.438 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/1.079, allocations: 27.42 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/1.079, allocations: 0 / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/1.118, allocations: 2.182 MB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/1.118, allocations: 202.5 kB / 1.109 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.515, allocations: 0 / 1.109 GB, free: 6.746 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)