Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001245/0.001245, allocations: 175.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5775 GB, free: 20.6 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.0009213/0.0009214, allocations: 78.39 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 8.812 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2265, allocations: 106.3 MB / 0.9002 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.3964, allocations: 134 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.3967, allocations: 83.95 kB / 1.031 GB, free: 10.1 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.01035/0.4071, allocations: 3.24 MB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4071, allocations: 0 / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4071, allocations: 4 kB / 1.034 GB, free: 6.852 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005968/0.4077, allocations: 474.3 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4078, allocations: 8.031 kB / 1.035 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.4078, allocations: 30.56 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.4079, allocations: 11.91 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.408, allocations: 179 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.408, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.4081, allocations: 8 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.4083, allocations: 93.56 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4083, allocations: 3.938 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4084, allocations: 4 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4084, allocations: 0 / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.4085, allocations: 55.97 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.4093, allocations: 336.8 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.4095, allocations: 74.48 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.4095, allocations: 4.141 kB / 1.036 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.4098, allocations: 99.25 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.916e-06/0.4098, allocations: 3.984 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.000555/0.4103, allocations: 193.5 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.4104, allocations: 59.36 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.4105, allocations: 116 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4105, allocations: 33.7 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.4106, allocations: 104 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.4106, allocations: 11.8 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-06/0.4106, allocations: 4 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4108, allocations: 322.8 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.4109, allocations: 31.98 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.411, allocations: 66.11 kB / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.4111, allocations: 43.92 kB / 1.037 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4111, allocations: 0 / 1.037 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002762/0.4114, allocations: 137.4 kB / 1.037 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4114, allocations: 4 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4114, allocations: 4 kB / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4114, allocations: 0 / 1.037 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4116, allocations: 19.92 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4116, allocations: 4 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.4117, allocations: 23.78 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4117, allocations: 8.094 kB / 1.037 GB, free: 4.086 MB / 0.6823 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 9.414e-05/0.4118, allocations: 117.8 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.4118, allocations: 0 / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.4118, allocations: 16.36 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4119, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4119, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4119, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.4125, allocations: 442.6 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4125, allocations: 3.938 kB / 1.037 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.4125, allocations: 12.05 kB / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4125, allocations: 0 / 1.037 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4126, allocations: 4 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4126, allocations: 80 / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4126, allocations: 7.938 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.413, allocations: 255.3 kB / 1.038 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.413, allocations: 85.02 kB / 1.038 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.413, allocations: 4 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4132, allocations: 11.98 kB / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.4132, allocations: 7.953 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4132, allocations: 7.984 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.4133, allocations: 95.27 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4133, allocations: 0 / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003281/0.4136, allocations: 51.98 kB / 1.038 GB, free: 2.887 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: 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.0009493/0.4146, allocations: 0.8515 MB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.4149, allocations: 103.9 kB / 1.039 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4149, allocations: 0 / 1.039 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4151, allocations: 55.97 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.4153, allocations: 14.16 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4163, allocations: 1.063 MB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4166, allocations: 0.6983 MB / 1.041 GB, free: 16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.4167, allocations: 7.984 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.4167, allocations: 19.44 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.4167, allocations: 0 / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.4305, allocations: 2.849 MB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.4307, allocations: 234 kB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.007, allocations: 0 / 1.044 GB, free: 13.05 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)