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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 175.2 kB / 326.5 MB, free: 2.242 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.816/1.816, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008817/0.0008817, allocations: 99.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003505, allocations: 10.22 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.4539, allocations: 133.7 MB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/0.4544, allocations: 83.95 kB / 1.031 GB, free: 9.84 MB / 0.6823 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.009413/0.4638, allocations: 2.986 MB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.416e-06/0.4638, allocations: 4 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.4638, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 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.0006/0.4644, allocations: 428.7 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4645, allocations: 8.031 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.4646, allocations: 34.56 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.4646, allocations: 15.89 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4647, allocations: 178.8 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4648, allocations: 4 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4648, allocations: 4 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.465, allocations: 65.66 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4651, allocations: 3.938 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4651, allocations: 4 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4651, allocations: 4 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4652, allocations: 43.97 kB / 1.034 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.4659, allocations: 320.7 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4661, allocations: 54.55 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4661, allocations: 0 / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.4663, allocations: 79.44 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.4663, allocations: 4 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.4667, allocations: 145.5 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4668, allocations: 59.36 kB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4669, allocations: 109 kB / 1.035 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4669, allocations: 25.7 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.467, allocations: 100.4 kB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.467, allocations: 11.81 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.4671, allocations: 11.94 kB / 1.035 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4672, allocations: 316.8 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.4673, allocations: 27.98 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.4674, allocations: 47 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.4675, allocations: 36.3 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4675, allocations: 0 / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002396/0.4677, allocations: 125.5 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4678, allocations: 6.406 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4678, allocations: 7.938 kB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4678, allocations: 0 / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.4679, allocations: 15.98 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4679, allocations: 3.938 kB / 1.036 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.468, allocations: 11.95 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.468, allocations: 7.984 kB / 1.036 GB, free: 4.332 MB / 0.6823 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.000111/0.4681, allocations: 113.8 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.4682, allocations: 11.91 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.4682, allocations: 12.38 kB / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4682, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4682, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4682, allocations: 0 / 1.036 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.4687, allocations: 386.4 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4687, allocations: 4 kB / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.4688, allocations: 15.98 kB / 1.036 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4688, allocations: 0 / 1.036 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4688, allocations: 4 kB / 1.036 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4688, allocations: 0 / 1.036 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4688, allocations: 3.953 kB / 1.036 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.4691, allocations: 219.4 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.4692, allocations: 85.02 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.4692, allocations: 3.984 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.4693, allocations: 8 kB / 1.037 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4694, allocations: 19.81 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4694, allocations: 0 / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.4695, allocations: 95.42 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4695, allocations: 0 / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003381/0.4698, allocations: 59.92 kB / 1.037 GB, free: 3.211 MB / 0.6823 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.0008987/0.4707, allocations: 0.8051 MB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.471, allocations: 72.22 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.471, allocations: 0 / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4711, allocations: 44.2 kB / 1.038 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.4713, allocations: 12.31 kB / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.4721, allocations: 0.7284 MB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.4723, allocations: 0.6926 MB / 1.039 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.4724, allocations: 4.188 kB / 1.039 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.4724, allocations: 23.44 kB / 1.039 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4724, allocations: 3.938 kB / 1.039 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.487, allocations: 2.492 MB / 1.042 GB, free: 14.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.4873, allocations: 251.6 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.329, allocations: 4 kB / 1.042 GB, free: 14.11 MB / 0.698 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)