Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 172.9 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009157/0.0009156, allocations: 99.09 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.837e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.019, allocations: 133.9 MB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.019, allocations: 82.5 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.008473/1.028, allocations: 2.948 MB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.192e-06/1.028, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.028, allocations: 0 / 1.019 GB, free: 0.9922 MB / 0.6355 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.0004512/1.028, allocations: 419.6 kB / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.028, allocations: 8.031 kB / 1.019 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/1.028, allocations: 4 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.029, allocations: 178.9 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/1.029, allocations: 9.016 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/1.029, allocations: 4 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/1.029, allocations: 23.67 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.029, allocations: 53.48 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.029, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.029, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.029, allocations: 8 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/1.029, allocations: 292.5 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/1.03, allocations: 33.7 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/1.03, allocations: 26.11 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/1.03, allocations: 7.984 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/1.03, allocations: 66.7 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.03, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/1.03, allocations: 100.3 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.03, allocations: 59.39 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/1.03, allocations: 107.6 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.03, allocations: 29.69 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/1.03, allocations: 95.73 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.03, allocations: 11.84 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/1.03, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.03, allocations: 328.8 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/1.03, allocations: 12.69 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/1.031, allocations: 44.56 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/1.031, allocations: 26.62 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.031, allocations: 0 / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001468/1.031, allocations: 89.45 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.031, allocations: 8 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/1.031, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.031, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/1.031, allocations: 19.36 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.031, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/1.031, allocations: 15.91 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.031, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.6511 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 8.192e-05/1.031, allocations: 116.6 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001489/1.031, allocations: 91.28 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/1.031, allocations: 7.906 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/1.031, allocations: 8.625 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.031, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.031, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.031, allocations: 3.953 kB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/1.032, allocations: 342.2 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.032, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/1.032, allocations: 8 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.032, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/1.032, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.032, allocations: 3.984 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.032, allocations: 3.953 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/1.032, allocations: 194.3 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/1.032, allocations: 85.02 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/1.032, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/1.032, allocations: 7.984 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/1.032, allocations: 7.953 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.032, allocations: 7.359 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.847e-05/1.032, allocations: 96.62 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.032, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003297/1.033, allocations: 51.92 kB / 1.022 GB, free: 13.84 MB / 0.6511 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.0008661/1.034, allocations: 0.8019 MB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001424/1.034, allocations: 56.28 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.034, allocations: 0 / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/1.034, allocations: 29.19 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/1.034, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/1.034, allocations: 147.5 kB / 1.023 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/1.035, allocations: 0.6924 MB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.956e-05/1.035, allocations: 12.3 kB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/1.035, allocations: 14.19 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/1.035, allocations: 0 / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/1.057, allocations: 2.189 MB / 1.026 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.057, allocations: 204.3 kB / 1.026 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.57, allocations: 1.562 kB / 1.026 GB, free: 9.637 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)