Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001079/0.001079, allocations: 174.7 kB / 321.3 MB, free: 14.64 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.66/1.66, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001002/0.001002, allocations: 96.95 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.245e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.223, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8627/1.086, allocations: 133.6 MB / 1.022 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.086, allocations: 83.69 kB / 1.022 GB, free: 1.039 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.009362/1.095, allocations: 2.971 MB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/1.095, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.095, allocations: 0 / 1.025 GB, free: 14.5 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.0005387/1.096, allocations: 418.8 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.096, allocations: 8.031 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/1.096, allocations: 33.88 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/1.096, allocations: 8 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/1.096, allocations: 174.9 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/1.096, allocations: 7.25 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/1.096, allocations: 6.938 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/1.096, allocations: 64.59 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.096, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.097, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.097, allocations: 3.938 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/1.097, allocations: 22.81 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/1.097, allocations: 313.2 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.137e-05/1.097, allocations: 38.14 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/1.097, allocations: 31.91 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/1.097, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/1.098, allocations: 78.64 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.098, allocations: 0 / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002505/1.098, allocations: 100 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/1.098, allocations: 55.41 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/1.098, allocations: 108.4 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.098, allocations: 29.08 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/1.098, allocations: 92.05 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/1.098, allocations: 23.64 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/1.098, allocations: 0 / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.098, allocations: 315.8 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/1.098, allocations: 25.62 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/1.098, allocations: 41.56 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/1.098, allocations: 22.3 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.099, allocations: 7.938 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001727/1.099, allocations: 98.33 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.099, allocations: 10.19 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.099, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/1.099, allocations: 0 / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/1.099, allocations: 15.98 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.099, allocations: 3.953 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/1.099, allocations: 15.77 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/1.099, allocations: 8.062 kB / 1.027 GB, free: 12.28 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 8.286e-05/1.099, allocations: 113.2 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.099, allocations: 4 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/1.099, allocations: 8.5 kB / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.099, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.099, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.099, allocations: 11.94 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/1.1, allocations: 362.5 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.1, allocations: 4 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/1.1, allocations: 7.984 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.1, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.1, allocations: 4 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.1, allocations: 7.953 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.1, allocations: 0 / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.1, allocations: 196.2 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/1.1, allocations: 89.02 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.1, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/1.1, allocations: 7.75 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/1.1, allocations: 11.94 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.1, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.279e-05/1.1, allocations: 101.4 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.1, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003117/1.101, allocations: 47.19 kB / 1.028 GB, free: 11.29 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.0007669/1.101, allocations: 0.7984 MB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001639/1.101, allocations: 57.3 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.102, allocations: 128 / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/1.102, allocations: 34.94 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/1.102, allocations: 6.828 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/1.102, allocations: 157.1 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.103, allocations: 0.6887 MB / 1.03 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.035e-05/1.103, allocations: 8.172 kB / 1.03 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/1.103, allocations: 18.62 kB / 1.03 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.103, allocations: 4 kB / 1.03 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/1.116, allocations: 2.525 MB / 1.033 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.116, allocations: 215.4 kB / 1.033 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.767, allocations: 2.031 kB / 1.033 GB, free: 6.895 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)