Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.72/2.72, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.001566/0.001565, allocations: 183.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.301/2.301, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001546/0.001546, allocations: 106.2 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006356, allocations: 16.23 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2408, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9605/1.201, allocations: 140.1 MB / 1.115 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/1.202, allocations: 86.28 kB / 1.115 GB, free: 15.63 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01525/1.217, allocations: 3.218 MB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.524e-06/1.217, allocations: 3.875 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.358e-06/1.217, allocations: 4 kB / 1.118 GB, free: 31.17 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.0008038/1.218, allocations: 462.4 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.218, allocations: 11.7 kB / 1.119 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/1.218, allocations: 36.88 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/1.218, allocations: 11.75 kB / 1.119 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.218, allocations: 181.2 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/1.218, allocations: 3.375 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/1.218, allocations: 11.69 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/1.219, allocations: 87.06 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.219, allocations: 3.875 kB / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.219, allocations: 0 / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.219, allocations: 0 / 1.119 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/1.219, allocations: 58.83 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.22, allocations: 342.2 kB / 1.12 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/1.22, allocations: 66.86 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/1.22, allocations: 0 / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/1.221, allocations: 100 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/1.221, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008028/1.222, allocations: 197.2 kB / 1.12 GB, free: 30.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.222, allocations: 55.36 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/1.222, allocations: 114.7 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/1.222, allocations: 29.08 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/1.222, allocations: 93.81 kB / 1.12 GB, free: 29.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.222, allocations: 26.62 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/1.222, allocations: 0 / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.222, allocations: 328.7 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.222, allocations: 28.81 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.222, allocations: 71.8 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/1.223, allocations: 41.12 kB / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.223, allocations: 0 / 1.121 GB, free: 29.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004573/1.223, allocations: 140 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.223, allocations: 3.875 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.223, allocations: 3.328 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.223, allocations: 3.969 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/1.223, allocations: 14.7 kB / 1.121 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/1.223, allocations: 3.938 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/1.224, allocations: 18.52 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/1.224, allocations: 3.844 kB / 1.121 GB, free: 29.32 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.0001641/1.224, allocations: 131.5 kB / 1.121 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/1.224, allocations: 7.75 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/1.224, allocations: 11.69 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.224, allocations: 0 / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.224, allocations: 3.141 kB / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.224, allocations: 0 / 1.121 GB, free: 29.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/1.225, allocations: 434.5 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.225, allocations: 0 / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/1.225, allocations: 5.031 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/1.225, allocations: 5.094 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/1.225, allocations: 1.453 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/1.225, allocations: 0 / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.225, allocations: 3.953 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/1.225, allocations: 250 kB / 1.122 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/1.226, allocations: 82.38 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/1.226, allocations: 3.812 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.226, allocations: 7.438 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/1.226, allocations: 16.56 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.226, allocations: 6.703 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.217e-05/1.226, allocations: 93.19 kB / 1.122 GB, free: 28.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.226, allocations: 0 / 1.122 GB, free: 28.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004819/1.226, allocations: 57.22 kB / 1.122 GB, free: 28.55 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.001378/1.228, allocations: 0.8621 MB / 1.123 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004538/1.228, allocations: 97.56 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.228, allocations: 0 / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/1.229, allocations: 53.98 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.229, allocations: 6.703 kB / 1.123 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/1.23, allocations: 1.059 MB / 1.124 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.23, allocations: 0.6969 MB / 1.125 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.1e-05/1.231, allocations: 10.89 kB / 1.125 GB, free: 26.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/1.231, allocations: 20.95 kB / 1.125 GB, free: 26.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.231, allocations: 0 / 1.125 GB, free: 26.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/1.258, allocations: 2.822 MB / 1.127 GB, free: 25.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/1.258, allocations: 235.4 kB / 1.128 GB, free: 25.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.909, allocations: 0 / 1.128 GB, free: 25.65 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)