Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.662/1.662, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009003/0.0009004, allocations: 98.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.095e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2672, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.071, allocations: 133.6 MB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.071, allocations: 82.88 kB / 1.022 GB, free: 1.082 MB / 0.6355 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.009897/1.081, allocations: 2.963 MB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/1.081, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.081, allocations: 0 / 1.025 GB, free: 14.54 MB / 0.6511 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.0006655/1.082, allocations: 426.3 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/1.082, allocations: 15.97 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/1.082, allocations: 30.56 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/1.082, allocations: 4 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/1.083, allocations: 170.9 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/1.083, allocations: 7.812 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.083, allocations: 0 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/1.083, allocations: 76.09 kB / 1.026 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.083, allocations: 3.938 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.083, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.083, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/1.083, allocations: 19.25 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/1.084, allocations: 322.3 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/1.084, allocations: 41.31 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/1.084, allocations: 31.05 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/1.084, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/1.084, allocations: 71.06 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/1.084, allocations: 0 / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002977/1.084, allocations: 99.53 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.084, allocations: 59.28 kB / 1.027 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/1.084, allocations: 112.4 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.084, allocations: 25.7 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/1.085, allocations: 95.17 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/1.085, allocations: 23.14 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.085, allocations: 4 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.085, allocations: 314.6 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/1.085, allocations: 19.19 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/1.085, allocations: 50.78 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/1.085, allocations: 23.73 kB / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.085, allocations: 0 / 1.027 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001705/1.085, allocations: 92.22 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.085, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.085, allocations: 4 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.085, allocations: 8.047 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.085, allocations: 8 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.085, allocations: 11.89 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/1.085, allocations: 15.02 kB / 1.027 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/1.085, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 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 0.0001119/1.086, allocations: 110.2 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/1.086, allocations: 0 / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/1.086, allocations: 16.25 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.086, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.086, allocations: 3.984 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.086, allocations: 3.953 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/1.086, allocations: 360.6 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.086, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/1.086, allocations: 7.984 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.086, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.086, allocations: 3.375 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.086, allocations: 7.953 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.086, allocations: 3.938 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/1.086, allocations: 189.2 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/1.086, allocations: 85.02 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.086, allocations: 3.5 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/1.087, allocations: 15.91 kB / 1.028 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/1.087, allocations: 7.953 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/1.087, allocations: 4 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.163e-05/1.087, allocations: 102.7 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.087, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003066/1.087, allocations: 47.56 kB / 1.028 GB, free: 11.32 MB / 0.6511 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.0008277/1.088, allocations: 0.8092 MB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.088, allocations: 55.61 kB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.088, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/1.088, allocations: 27.06 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/1.088, allocations: 11.08 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/1.089, allocations: 155.5 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.089, allocations: 0.6965 MB / 1.03 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.296e-05/1.089, allocations: 8.172 kB / 1.03 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/1.089, allocations: 14.06 kB / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/1.089, allocations: 0 / 1.03 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/1.104, allocations: 2.526 MB / 1.033 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/1.104, allocations: 216.6 kB / 1.033 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.8, allocations: 0 / 1.033 GB, free: 6.949 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)