Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 285.4 MB / 298 MB, free: 5.977 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.001111/0.001111, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.604/1.604, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.0008809, allocations: 92.42 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.657e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7857, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/1.019, allocations: 140.3 MB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.019, allocations: 79.95 kB / 1.108 GB, free: 11.43 MB / 0.7136 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.01338/1.033, allocations: 3.226 MB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.033, allocations: 0.5312 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.033, allocations: 0 / 1.111 GB, free: 8.246 MB / 0.7136 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.0007524/1.033, allocations: 446.4 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.034, allocations: 12.02 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/1.034, allocations: 38.56 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/1.034, allocations: 7.906 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/1.034, allocations: 171.7 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/1.034, allocations: 10.03 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/1.034, allocations: 4 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/1.034, allocations: 73.64 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.034, allocations: 0 / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/1.034, allocations: 4 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/1.034, allocations: 4.688 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/1.034, allocations: 35.92 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/1.035, allocations: 353.9 kB / 1.112 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.036, allocations: 48.69 kB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/1.036, allocations: 32.86 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/1.036, allocations: 3.984 kB / 1.112 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/1.036, allocations: 91.53 kB / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.465e-06/1.036, allocations: 0 / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004354/1.036, allocations: 125.6 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/1.036, allocations: 63.5 kB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.037, allocations: 116.4 kB / 1.113 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/1.037, allocations: 25.7 kB / 1.113 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/1.037, allocations: 96.14 kB / 1.113 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/1.037, allocations: 23.7 kB / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/1.037, allocations: 0 / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.037, allocations: 318.8 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/1.037, allocations: 27.92 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/1.037, allocations: 56.23 kB / 1.113 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/1.037, allocations: 39.09 kB / 1.113 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.037, allocations: 0 / 1.113 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000303/1.038, allocations: 113.5 kB / 1.113 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.038, allocations: 8 kB / 1.113 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.038, allocations: 3.984 kB / 1.113 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.038, allocations: 4 kB / 1.113 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/1.038, allocations: 8.094 kB / 1.113 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.038, allocations: 11.98 kB / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/1.038, allocations: 11.95 kB / 1.113 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/1.038, allocations: 4 kB / 1.113 GB, free: 5.676 MB / 0.7136 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 () * 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.0001092/1.038, allocations: 112.9 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/1.038, allocations: 7.906 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/1.038, allocations: 13.55 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.038, allocations: 0 / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.038, allocations: 4 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.038, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/1.039, allocations: 418.3 kB / 1.114 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.039, allocations: 0 / 1.114 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/1.039, allocations: 4 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.039, allocations: 0 / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/1.039, allocations: 7.984 kB / 1.114 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.039, allocations: 0 / 1.114 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.039, allocations: 5.547 kB / 1.114 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/1.039, allocations: 225.9 kB / 1.114 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/1.04, allocations: 85.02 kB / 1.114 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/1.04, allocations: 2.062 kB / 1.114 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.04, allocations: 11.98 kB / 1.114 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/1.04, allocations: 3.984 kB / 1.114 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/1.04, allocations: 7.953 kB / 1.114 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.407e-05/1.04, allocations: 105.4 kB / 1.114 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/1.04, allocations: 3.938 kB / 1.114 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004824/1.04, allocations: 51.94 kB / 1.115 GB, free: 4.539 MB / 0.7136 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) * 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.001128/1.042, allocations: 0.8273 MB / 1.115 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002404/1.042, allocations: 73.23 kB / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.042, allocations: 0 / 1.115 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/1.042, allocations: 42.58 kB / 1.115 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/1.042, allocations: 9.547 kB / 1.115 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/1.043, allocations: 177.1 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/1.043, allocations: 0.6967 MB / 1.116 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.765e-05/1.043, allocations: 4 kB / 1.116 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/1.043, allocations: 24.42 kB / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of SimCode: time 1.212e-06/1.043, allocations: 0 / 1.116 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/1.059, allocations: 2.852 MB / 1.119 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.059, allocations: 211.8 kB / 1.119 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.761, allocations: 4 kB / 1.119 GB, free: 15.75 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)