Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.658/1.658, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.00116/0.00116, allocations: 180.4 kB / 371.8 MB, free: 10.3 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.839/1.839, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008724/0.0008723, allocations: 89.17 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004602, allocations: 16.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2473, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8052/1.053, allocations: 140.3 MB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.053, allocations: 84.12 kB / 1.117 GB, free: 16.41 MB / 0.6823 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.01037/1.063, allocations: 3.232 MB / 1.12 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.063, allocations: 0 / 1.12 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.063, allocations: 3.844 kB / 1.12 GB, free: 31.95 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006562/1.064, allocations: 468.3 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/1.064, allocations: 11.7 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/1.064, allocations: 33.75 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/1.064, allocations: 11.12 kB / 1.12 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.064, allocations: 181.3 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.064, allocations: 3.906 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/1.064, allocations: 6.938 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.065, allocations: 86.78 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/1.065, allocations: 0 / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.065, allocations: 3.875 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/1.065, allocations: 0 / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/1.065, allocations: 62.69 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/1.066, allocations: 344.3 kB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/1.066, allocations: 57.88 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/1.066, allocations: 3.625 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/1.066, allocations: 105.9 kB / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/1.066, allocations: 0 / 1.121 GB, free: 30.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005111/1.066, allocations: 196.1 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/1.067, allocations: 51.41 kB / 1.121 GB, free: 30.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/1.067, allocations: 116.2 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.067, allocations: 28.77 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/1.067, allocations: 94.34 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/1.067, allocations: 22.02 kB / 1.122 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/1.067, allocations: 0 / 1.122 GB, free: 30.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.067, allocations: 324.1 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/1.067, allocations: 31.42 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.371e-05/1.067, allocations: 68.42 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/1.067, allocations: 43.38 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.067, allocations: 0 / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002857/1.068, allocations: 139.1 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.068, allocations: 3.844 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/1.068, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/1.068, allocations: 8.031 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/1.068, allocations: 18.03 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.068, allocations: 0 / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/1.068, allocations: 18.23 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.068, allocations: 11.27 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001048/1.068, allocations: 119.2 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/1.068, allocations: 7.75 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/1.068, allocations: 17.59 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.068, allocations: 4.031 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/1.068, allocations: 0 / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.068, allocations: 2.812 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/1.069, allocations: 430.2 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.069, allocations: 4 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.045e-05/1.069, allocations: 7.094 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/1.069, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.069, allocations: 3.875 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.069, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.069, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/1.069, allocations: 254.2 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/1.069, allocations: 84.62 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/1.069, allocations: 3.812 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.069, allocations: 11.31 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/1.069, allocations: 7.281 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.069, allocations: 7.5 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.475e-05/1.069, allocations: 98.64 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.069, allocations: 4 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003573/1.07, allocations: 53.61 kB / 1.123 GB, free: 29.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009574/1.071, allocations: 0.8616 MB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000258/1.071, allocations: 89.69 kB / 1.124 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.071, allocations: 4.188 kB / 1.124 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/1.071, allocations: 49.73 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/1.071, allocations: 7.781 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.072, allocations: 1.062 MB / 1.125 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.073, allocations: 0.6939 MB / 1.126 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.356e-05/1.073, allocations: 7.812 kB / 1.126 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/1.073, allocations: 18.02 kB / 1.126 GB, free: 26.93 MB / 0.698 GB Notification: Performance of SimCode: time 3.466e-06/1.073, allocations: 0 / 1.126 GB, free: 26.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/1.088, allocations: 2.825 MB / 1.129 GB, free: 26.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.088, allocations: 245 kB / 1.129 GB, free: 26.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.788, allocations: 0 / 1.129 GB, free: 26.42 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)