Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.342/2.342, allocations: 248.7 MB / 256.2 MB, free: 6.996 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.001504/0.001504, allocations: 178.9 kB / 315.4 MB, free: 3.996 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.242/2.242, allocations: 205.3 MB / 0.5662 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 94.45 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.471e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2186, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.895/1.114, allocations: 133.7 MB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.114, allocations: 80.02 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01421/1.128, allocations: 2.975 MB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.128, allocations: 0 / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.128, allocations: 0 / 1.018 GB, free: 2.848 MB / 0.6355 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.0006479/1.129, allocations: 414.2 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.129, allocations: 8.031 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/1.129, allocations: 11.86 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.129, allocations: 174.9 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/1.129, allocations: 4 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/1.129, allocations: 4 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/1.13, allocations: 26.11 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/1.13, allocations: 51.92 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.13, allocations: 3.984 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.13, allocations: 4 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.13, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007828/1.131, allocations: 289.8 kB / 1.019 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/1.131, allocations: 40.27 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/1.131, allocations: 27.05 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/1.131, allocations: 0 / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/1.131, allocations: 70.08 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/1.131, allocations: 0 / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000353/1.131, allocations: 95.52 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.131, allocations: 55.36 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.131, allocations: 117.7 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/1.132, allocations: 33.7 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/1.132, allocations: 90.94 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/1.132, allocations: 15.75 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/1.132, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.132, allocations: 322.2 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/1.132, allocations: 18.25 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/1.132, allocations: 36.95 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/1.132, allocations: 27.17 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.132, allocations: 0 / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/1.132, allocations: 92.25 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.132, allocations: 8 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.132, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.132, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/1.133, allocations: 15.48 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.133, allocations: 4 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/1.133, allocations: 15.92 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/1.133, allocations: 4 kB / 1.02 GB, free: 0.7305 MB / 0.6355 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.133, allocations: 108.9 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002434/1.133, allocations: 85.8 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/1.133, allocations: 15.83 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/1.133, allocations: 11.81 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.133, allocations: 0 / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.133, allocations: 3.953 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.133, allocations: 4 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/1.134, allocations: 336.7 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.134, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/1.134, allocations: 4 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.134, allocations: 8 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.134, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.134, allocations: 3.953 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.134, allocations: 320 / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/1.134, allocations: 198.5 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/1.134, allocations: 88.95 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/1.134, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/1.135, allocations: 7.125 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/1.135, allocations: 11.94 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.135, allocations: 3.938 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.606e-05/1.135, allocations: 90.45 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.135, allocations: 4 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005343/1.135, allocations: 47.19 kB / 1.021 GB, free: 15.7 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.001004/1.136, allocations: 0.7997 MB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002125/1.137, allocations: 53.11 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.137, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/1.137, allocations: 28.62 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.137, allocations: 9.406 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/1.138, allocations: 143.7 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/1.138, allocations: 0.6995 MB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.714e-05/1.138, allocations: 4.172 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/1.138, allocations: 17.75 kB / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.138, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/1.177, allocations: 2.196 MB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003599/1.177, allocations: 191.5 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.517, allocations: 0 / 1.025 GB, free: 11.49 MB / 0.6511 GB