Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.823/1.823, allocations: 285.4 MB / 298 MB, free: 5.992 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.001039/0.001039, allocations: 176.8 kB / 366.4 MB, free: 2.082 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.679/1.679, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0007718/0.0007718, allocations: 96.52 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.781e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.6995, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.8933, allocations: 139.9 MB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.8936, allocations: 83.94 kB / 1.108 GB, free: 11.77 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.008988/0.9026, allocations: 2.97 MB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9027, allocations: 2.25 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9027, allocations: 0 / 1.111 GB, free: 8.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004957/0.9032, allocations: 419.9 kB / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.9032, allocations: 15.12 kB / 1.111 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.9033, allocations: 34.56 kB / 1.111 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.9033, allocations: 7.906 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.9034, allocations: 167 kB / 1.111 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.9035, allocations: 4 kB / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.9035, allocations: 7.984 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.9037, allocations: 65.59 kB / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9037, allocations: 0.8438 kB / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.9037, allocations: 0 / 1.111 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.9037, allocations: 4.625 kB / 1.111 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.631e-05/0.9038, allocations: 20 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.9044, allocations: 315.2 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.9045, allocations: 48.94 kB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.9045, allocations: 28.98 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.9046, allocations: 1.219 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.9047, allocations: 73.58 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.9047, allocations: 0 / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002473/0.905, allocations: 93.73 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.905, allocations: 59.36 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.9051, allocations: 119.6 kB / 1.112 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.9051, allocations: 33.64 kB / 1.112 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.9052, allocations: 92.3 kB / 1.112 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.9052, allocations: 19.73 kB / 1.112 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.9052, allocations: 4 kB / 1.112 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9054, allocations: 314.8 kB / 1.112 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.9054, allocations: 20 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.9055, allocations: 46.55 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.9055, allocations: 26.64 kB / 1.113 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9056, allocations: 0 / 1.113 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001617/0.9057, allocations: 97.52 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9057, allocations: 5.094 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9058, allocations: 4 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9058, allocations: 3.984 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.9059, allocations: 16.06 kB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.9059, allocations: 7.938 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.906, allocations: 11.94 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.906, allocations: 5.438 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.179e-05/0.9061, allocations: 110 kB / 1.113 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.9061, allocations: 3.906 kB / 1.113 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.9061, allocations: 12.62 kB / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9062, allocations: 4 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9062, allocations: 3.984 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9062, allocations: 0 / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.9065, allocations: 358.5 kB / 1.113 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9066, allocations: 7.984 kB / 1.113 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.9066, allocations: 4 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9066, allocations: 0 / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.9066, allocations: 0 / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9066, allocations: 0.9375 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9067, allocations: 11.89 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.9069, allocations: 199.4 kB / 1.113 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.9069, allocations: 85.89 kB / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.9069, allocations: 0 / 1.113 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.907, allocations: 7.984 kB / 1.113 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.9071, allocations: 8 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.9071, allocations: 3.953 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.9072, allocations: 102.8 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9072, allocations: 0 / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003014/0.9075, allocations: 51.84 kB / 1.114 GB, free: 5.422 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006853/0.9082, allocations: 0.7975 MB / 1.114 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.9083, allocations: 55.97 kB / 1.114 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9083, allocations: 1.594 kB / 1.114 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.9084, allocations: 27.94 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.9086, allocations: 10.08 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.909, allocations: 153.5 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.9093, allocations: 0.6967 MB / 1.115 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.9093, allocations: 8.156 kB / 1.115 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.9094, allocations: 19.44 kB / 1.115 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.9094, allocations: 0 / 1.115 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.9223, allocations: 2.509 MB / 1.118 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.9225, allocations: 220 kB / 1.118 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.483, allocations: 4 kB / 1.118 GB, free: 1.047 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)