Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.052/3.052, allocations: 287.3 MB / 302.3 MB, free: 8.402 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.00152/0.001519, allocations: 179 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001519/0.001518, allocations: 93.25 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006537, allocations: 12.12 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2308, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9814/1.212, allocations: 139.8 MB / 1.115 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.213, allocations: 86.84 kB / 1.115 GB, free: 15.25 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.014/1.227, allocations: 2.993 MB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.394e-06/1.227, allocations: 0 / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.387e-06/1.227, allocations: 0 / 1.118 GB, free: 30.79 MB / 0.698 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.0007853/1.227, allocations: 434.2 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.228, allocations: 14.05 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/1.228, allocations: 37.5 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/1.228, allocations: 7.781 kB / 1.118 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.228, allocations: 173.2 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/1.228, allocations: 6.625 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/1.228, allocations: 3.844 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.228, allocations: 69.38 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.228, allocations: 11.78 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.228, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.228, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/1.228, allocations: 41.61 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008211/1.229, allocations: 324.7 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/1.229, allocations: 50.97 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/1.229, allocations: 0 / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/1.23, allocations: 84.22 kB / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/1.23, allocations: 0 / 1.119 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006029/1.23, allocations: 147.8 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.23, allocations: 62.94 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/1.231, allocations: 116.1 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.231, allocations: 29.52 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/1.231, allocations: 91.64 kB / 1.119 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/1.231, allocations: 18.38 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/1.231, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.231, allocations: 316.7 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/1.231, allocations: 31.44 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/1.231, allocations: 54.02 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/1.231, allocations: 32.48 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.231, allocations: 0 / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003704/1.232, allocations: 123.5 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.232, allocations: 3.844 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.232, allocations: 0 / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.232, allocations: 1.281 kB / 1.12 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.232, allocations: 17.38 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.232, allocations: 1.344 kB / 1.12 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.232, allocations: 15.48 kB / 1.12 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/1.232, allocations: 2.75 kB / 1.12 GB, free: 29 MB / 0.698 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 () * Number of clocked 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.0001312/1.232, allocations: 122.8 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/1.232, allocations: 5.578 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/1.232, allocations: 17.17 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.232, allocations: 1.312 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.232, allocations: 0 / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.232, allocations: 1.312 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/1.233, allocations: 395.8 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.233, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.149e-05/1.233, allocations: 6.984 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.233, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/1.233, allocations: 0 / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.233, allocations: 3.906 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.233, allocations: 3.953 kB / 1.121 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/1.234, allocations: 221.3 kB / 1.121 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/1.234, allocations: 84.92 kB / 1.121 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/1.234, allocations: 3.188 kB / 1.121 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/1.234, allocations: 6.547 kB / 1.121 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/1.234, allocations: 10.98 kB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/1.234, allocations: 4 kB / 1.121 GB, free: 28.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.214e-05/1.234, allocations: 97.03 kB / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.234, allocations: 0 / 1.121 GB, free: 28.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004907/1.235, allocations: 49.88 kB / 1.121 GB, free: 28.23 MB / 0.698 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 () * Number of clocked 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.001126/1.236, allocations: 0.8156 MB / 1.122 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003703/1.236, allocations: 80.42 kB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.236, allocations: 0 / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/1.236, allocations: 41 kB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/1.237, allocations: 7.125 kB / 1.122 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/1.238, allocations: 0.7241 MB / 1.123 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.238, allocations: 0.7003 MB / 1.123 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.258e-05/1.238, allocations: 8.078 kB / 1.123 GB, free: 26.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/1.238, allocations: 20.84 kB / 1.123 GB, free: 26.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.238, allocations: 0 / 1.123 GB, free: 26.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/1.26, allocations: 2.495 MB / 1.126 GB, free: 25.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/1.261, allocations: 242.8 kB / 1.126 GB, free: 25.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.719, allocations: 0.7031 kB / 1.126 GB, free: 25.67 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)