Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.719/2.719, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001574/0.001574, allocations: 191.7 kB / 370.8 MB, free: 10.89 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.297/2.297, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001156/0.001155, allocations: 90.17 kB / 0.7428 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006521, allocations: 12.27 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2171, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.26, allocations: 140.2 MB / 1.115 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.26, allocations: 80.45 kB / 1.115 GB, free: 15.57 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.01522/1.276, allocations: 3.242 MB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/1.276, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.276, allocations: 0 / 1.118 GB, free: 31.11 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.000814/1.277, allocations: 471.9 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.277, allocations: 11.7 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/1.277, allocations: 40.98 kB / 1.119 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/1.277, allocations: 7.781 kB / 1.119 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.277, allocations: 174.8 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/1.277, allocations: 6.25 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/1.277, allocations: 7.688 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/1.277, allocations: 91.53 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.277, allocations: 0 / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/1.277, allocations: 3.875 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.277, allocations: 0 / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/1.278, allocations: 59.19 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.279, allocations: 341.3 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/1.279, allocations: 64.69 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/1.279, allocations: 11.22 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/1.279, allocations: 99.2 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/1.279, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008566/1.28, allocations: 195 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.28, allocations: 59.2 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/1.281, allocations: 114.7 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.281, allocations: 29.64 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/1.281, allocations: 94.48 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.281, allocations: 23.41 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/1.281, allocations: 3.688 kB / 1.12 GB, free: 29.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.281, allocations: 321.7 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/1.281, allocations: 31.55 kB / 1.121 GB, free: 29.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/1.281, allocations: 65.73 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/1.281, allocations: 45.58 kB / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.281, allocations: 0 / 1.121 GB, free: 29.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004171/1.282, allocations: 139.5 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.282, allocations: 4.031 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.282, allocations: 4 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.282, allocations: 3.844 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.282, allocations: 13.92 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/1.282, allocations: 320 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/1.282, allocations: 26.5 kB / 1.121 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/1.282, allocations: 3.844 kB / 1.121 GB, free: 29.25 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.0001353/1.282, allocations: 127.9 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.282, allocations: 10.97 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/1.282, allocations: 11.22 kB / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.282, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/1.282, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.282, allocations: 0 / 1.121 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008778/1.283, allocations: 451 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.283, allocations: 0 / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/1.283, allocations: 3.875 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.283, allocations: 0 / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/1.283, allocations: 6.891 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.284, allocations: 0 / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.284, allocations: 3.953 kB / 1.121 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/1.284, allocations: 247.5 kB / 1.122 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/1.284, allocations: 91.73 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/1.284, allocations: 3.875 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/1.284, allocations: 6.516 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/1.285, allocations: 10.75 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/1.285, allocations: 3.844 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.568e-05/1.285, allocations: 100.2 kB / 1.122 GB, free: 28.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.285, allocations: 0 / 1.122 GB, free: 28.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004644/1.285, allocations: 57.42 kB / 1.122 GB, free: 28.48 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.001426/1.287, allocations: 0.8441 MB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004719/1.287, allocations: 99.44 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.287, allocations: 0 / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/1.287, allocations: 59.55 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/1.288, allocations: 6.609 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.289, allocations: 1.06 MB / 1.124 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/1.289, allocations: 0.6945 MB / 1.125 GB, free: 26.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.219e-05/1.289, allocations: 7.906 kB / 1.125 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/1.289, allocations: 23.83 kB / 1.125 GB, free: 26.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/1.289, allocations: 0 / 1.125 GB, free: 26.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/1.318, allocations: 2.843 MB / 1.127 GB, free: 25.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/1.319, allocations: 231.9 kB / 1.128 GB, free: 25.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.955, allocations: 0 / 1.128 GB, free: 25.6 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)