Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.832 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.001098/0.001098, allocations: 183.4 kB / 316.3 MB, free: 3.223 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.64/1.64, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008382/0.0008381, allocations: 90.58 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.782e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7174/0.9367, allocations: 133.9 MB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.937, allocations: 80.27 kB / 1.016 GB, free: 3.406 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.008551/0.9456, allocations: 2.947 MB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9456, allocations: 5.031 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.9456, allocations: 4 kB / 1.019 GB, free: 0.9102 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.0004868/0.9461, allocations: 413.8 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9462, allocations: 11.97 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.9462, allocations: 4 kB / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.9463, allocations: 174.9 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.9464, allocations: 0 / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.9464, allocations: 4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.916e-05/0.9465, allocations: 28.86 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.9466, allocations: 58.61 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.9466, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9466, allocations: 7.875 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.9466, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.9472, allocations: 296.6 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.9473, allocations: 39.89 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.9473, allocations: 18.92 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.9474, allocations: 6.875 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.9475, allocations: 63.33 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.9475, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.9478, allocations: 107.7 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.9478, allocations: 51.41 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.9479, allocations: 111.9 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.9479, allocations: 25.7 kB / 1.02 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.948, allocations: 95.78 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.948, allocations: 15.28 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.948, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.9481, allocations: 322.7 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.9482, allocations: 18.62 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.9482, allocations: 41.7 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.9483, allocations: 26.86 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9483, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001514/0.9484, allocations: 92.64 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9485, allocations: 6.188 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9485, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9485, allocations: 8.062 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.9486, allocations: 11.98 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9486, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.9487, allocations: 11.91 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.9487, allocations: 3.984 kB / 1.021 GB, free: 14.79 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 7.762e-05/0.9488, allocations: 111.8 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001477/0.9489, allocations: 88.67 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.949, allocations: 15.89 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.949, allocations: 8.312 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.949, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.949, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.949, allocations: 7.953 kB / 1.021 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.9493, allocations: 334.5 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9494, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.9494, allocations: 6.625 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9494, allocations: 0 / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.9494, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9494, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9494, allocations: 3.953 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.9496, allocations: 201.2 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.9497, allocations: 81.02 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.9497, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.9498, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9499, allocations: 19.19 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.9499, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.9499, allocations: 92.83 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.95, allocations: 3.938 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003065/0.9503, allocations: 43.94 kB / 1.022 GB, free: 13.76 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.0007114/0.951, allocations: 0.8029 MB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.9511, allocations: 50.48 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9511, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.9512, allocations: 30.81 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.9514, allocations: 6.625 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.9518, allocations: 153.1 kB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.9521, allocations: 0.6885 MB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.9521, allocations: 8.172 kB / 1.024 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.9522, allocations: 18.62 kB / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.9522, allocations: 0 / 1.024 GB, free: 12 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.9714, allocations: 2.199 MB / 1.026 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.9716, allocations: 190.8 kB / 1.026 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.426, allocations: 0 / 1.026 GB, free: 9.629 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)