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.485/1.485, allocations: 249.5 MB / 257 MB, free: 6.883 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.0009609/0.0009609, allocations: 180.8 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008183/0.0008184, allocations: 96.02 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1744, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6748/0.8493, allocations: 133.9 MB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.8496, allocations: 82.81 kB / 1.016 GB, free: 3.762 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.008706/0.8583, allocations: 2.949 MB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8583, allocations: 0 / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.8583, allocations: 0 / 1.019 GB, free: 1.273 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.0005495/0.8589, allocations: 416.5 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8589, allocations: 11.97 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.859, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.8591, allocations: 170.9 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.8592, allocations: 7.984 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.8592, allocations: 4 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.776e-05/0.8593, allocations: 23.56 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.8594, allocations: 53.3 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.8594, allocations: 4 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.8594, allocations: 0 / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.8594, allocations: 3.938 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.86, allocations: 296.3 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.8601, allocations: 46.19 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.8601, allocations: 24.73 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.8602, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.8603, allocations: 63.72 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.8603, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002869/0.8606, allocations: 96.62 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8606, allocations: 51.48 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.8607, allocations: 118.5 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.8608, allocations: 29.7 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.8608, allocations: 92.16 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.8609, allocations: 19.77 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.8609, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.861, allocations: 322.6 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.8611, allocations: 15.88 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.8611, allocations: 46 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.8612, allocations: 27.86 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8612, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001518/0.8613, allocations: 89.03 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8614, allocations: 8 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8614, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8614, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.8615, allocations: 11.98 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8615, allocations: 8.062 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.8616, allocations: 15.27 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.8616, allocations: 4 kB / 1.021 GB, free: 15.15 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 9.003e-05/0.8617, allocations: 109.5 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001513/0.8619, allocations: 96.47 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.8619, allocations: 7.906 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.8619, allocations: 4.625 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.862, allocations: 8 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.862, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.862, allocations: 7.938 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.8624, allocations: 330 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8624, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.8625, allocations: 4 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.8625, allocations: 7.984 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.8625, allocations: 0 / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8625, allocations: 0 / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8625, allocations: 7.953 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.8628, allocations: 190.2 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.8628, allocations: 88.95 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.8629, allocations: 3.984 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.863, allocations: 7.875 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.863, allocations: 11.94 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.8631, allocations: 0 / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.147e-05/0.8631, allocations: 95.16 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8631, allocations: 3.938 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003722/0.8635, allocations: 51.73 kB / 1.022 GB, free: 14.12 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.0009745/0.8645, allocations: 0.7993 MB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.8647, allocations: 55.17 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8647, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.8647, allocations: 27.73 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.865, allocations: 11.86 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.8655, allocations: 149.4 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.8659, allocations: 0.6964 MB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.866, allocations: 4.188 kB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.866, allocations: 19.23 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.866, allocations: 0 / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.8856, allocations: 2.189 MB / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.8859, allocations: 216.8 kB / 1.026 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.396, allocations: 0 / 1.026 GB, free: 9.883 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)