Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.903/1.903, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001136/0.001136, allocations: 180.6 kB / 371.6 MB, free: 3.422 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.641/1.641, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0009583/0.0009584, allocations: 95.27 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.444e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3118, allocations: 116.3 MB / 0.9799 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9587/1.271, allocations: 140.9 MB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.271, allocations: 77.44 kB / 1.118 GB, free: 43.23 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00841/1.279, allocations: 2.973 MB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/1.279, allocations: 0 / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.279, allocations: 0 / 1.12 GB, free: 41.53 MB / 0.7448 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.0004879/1.28, allocations: 411 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/1.28, allocations: 8.031 kB / 1.121 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/1.28, allocations: 45.44 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/1.28, allocations: 10.41 kB / 1.121 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/1.28, allocations: 166.3 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/1.28, allocations: 4 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/1.28, allocations: 7.875 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.28, allocations: 58.88 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.281, allocations: 0 / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.281, allocations: 0 / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.281, allocations: 1.078 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/1.281, allocations: 30.62 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/1.281, allocations: 316.2 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.394e-05/1.281, allocations: 41.14 kB / 1.122 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/1.281, allocations: 27.53 kB / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/1.282, allocations: 0 / 1.122 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/1.282, allocations: 77.52 kB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/1.282, allocations: 0 / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002595/1.282, allocations: 98.47 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.282, allocations: 63.34 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/1.282, allocations: 112.9 kB / 1.122 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.282, allocations: 33.64 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/1.282, allocations: 87.92 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/1.282, allocations: 26.42 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.282, allocations: 0 / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.162e-05/1.282, allocations: 318.1 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/1.282, allocations: 22.47 kB / 1.122 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/1.282, allocations: 37.81 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/1.282, allocations: 22.91 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.282, allocations: 4 kB / 1.122 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001451/1.283, allocations: 99.14 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.283, allocations: 4 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.283, allocations: 0 / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.283, allocations: 5.875 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/1.283, allocations: 12.7 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.283, allocations: 0 / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/1.283, allocations: 15.23 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/1.283, allocations: 11.56 kB / 1.123 GB, free: 39.43 MB / 0.7448 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 6.695e-05/1.283, allocations: 113.2 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/1.283, allocations: 8.656 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/1.283, allocations: 4.625 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.283, allocations: 7.469 kB / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.283, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.283, allocations: 0 / 1.123 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/1.283, allocations: 362.8 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.283, allocations: 4 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/1.283, allocations: 8.625 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.283, allocations: 0.5625 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.283, allocations: 11.09 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.283, allocations: 3.938 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.283, allocations: 4.703 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/1.284, allocations: 197.5 kB / 1.123 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/1.284, allocations: 81.11 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/1.284, allocations: 0.75 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/1.284, allocations: 10.94 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/1.284, allocations: 7.953 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/1.284, allocations: 7.422 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.433e-05/1.284, allocations: 88.28 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.284, allocations: 0 / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003022/1.284, allocations: 50.97 kB / 1.123 GB, free: 38.51 MB / 0.7448 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.0006456/1.285, allocations: 0.8065 MB / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001435/1.285, allocations: 54.39 kB / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.285, allocations: 9.531 kB / 1.124 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/1.285, allocations: 28.3 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/1.285, allocations: 3.5 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/1.286, allocations: 161.9 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/1.286, allocations: 0.6878 MB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.293e-05/1.286, allocations: 10.11 kB / 1.125 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/1.286, allocations: 23.94 kB / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.286, allocations: 0 / 1.125 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/1.299, allocations: 2.514 MB / 1.128 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.3, allocations: 216.7 kB / 1.128 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.937, allocations: 6.875 kB / 1.128 GB, free: 35.18 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)