Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001076/0.001076, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.626/1.626, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008003/0.0008002, allocations: 92.52 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6528, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.8418, allocations: 139.3 MB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.8421, allocations: 79.95 kB / 1.101 GB, free: 480 kB / 0.698 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.009308/0.8515, allocations: 2.96 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8515, allocations: 0.75 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.8515, allocations: 4 kB / 1.103 GB, free: 13.55 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.0005442/0.8521, allocations: 413.7 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8521, allocations: 12.03 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.8522, allocations: 17.19 kB / 1.104 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8523, allocations: 177.6 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.8524, allocations: 0 / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.8524, allocations: 5 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.962e-05/0.8525, allocations: 20.66 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8526, allocations: 54.39 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.8526, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8526, allocations: 4.625 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8526, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.8532, allocations: 287.8 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.8533, allocations: 39.61 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.448e-05/0.8534, allocations: 28.81 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.8534, allocations: 0.75 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.8536, allocations: 73.67 kB / 1.105 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.8536, allocations: 3.938 kB / 1.105 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002584/0.8538, allocations: 95.77 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.8539, allocations: 55.41 kB / 1.105 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.854, allocations: 116 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.854, allocations: 29.64 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.8541, allocations: 88.33 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.8541, allocations: 11.75 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.8541, allocations: 4 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8543, allocations: 322.8 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.983e-05/0.8543, allocations: 20 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.8544, allocations: 42 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.8544, allocations: 16 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8545, allocations: 4 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001649/0.8546, allocations: 93.5 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.8547, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8547, allocations: 4.062 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8547, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.8548, allocations: 15.92 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.8548, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.8549, allocations: 4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.8549, allocations: 7.984 kB / 1.105 GB, free: 11.32 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.0001027/0.855, allocations: 112.9 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001741/0.8552, allocations: 103.6 kB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.8552, allocations: 4 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.8553, allocations: 8.625 kB / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8553, allocations: 0 / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8553, allocations: 0 / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8553, allocations: 0 / 1.106 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.8557, allocations: 343 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8557, allocations: 0 / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.8557, allocations: 4 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.8557, allocations: 4 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.8557, allocations: 5.578 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.8558, allocations: 1.5 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8558, allocations: 7.938 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.856, allocations: 191.4 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.856, allocations: 81.02 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.8561, allocations: 0 / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.8562, allocations: 11.98 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.8562, allocations: 4 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.8562, allocations: 7.984 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.8563, allocations: 94.08 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8563, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003031/0.8566, allocations: 51.92 kB / 1.106 GB, free: 10.22 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.0008146/0.8574, allocations: 0.8028 MB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.8576, allocations: 55.92 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8576, allocations: 0 / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.8577, allocations: 24 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.8578, allocations: 12.62 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.8583, allocations: 140.5 kB / 1.107 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.8586, allocations: 0.6931 MB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.8587, allocations: 4.188 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.8587, allocations: 19.44 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.8587, allocations: 0 / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.8803, allocations: 2.191 MB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.8806, allocations: 191.5 kB / 1.11 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.422, allocations: 6.812 kB / 1.11 GB, free: 6.012 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)