Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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 1.728/1.728, allocations: 287.4 MB / 302.5 MB, free: 8.258 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.0009573/0.0009574, allocations: 176.5 kB / 371.1 MB, free: 10.8 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.735/1.735, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007053/0.0007053, allocations: 102.1 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 12.22 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001592/0.1936, allocations: 1.211 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1947, allocations: 0.7112 MB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.1948, allocations: 4 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1949, allocations: 7.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.1949, allocations: 3.938 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.1955, allocations: 99.75 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.1956, allocations: 67.78 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.1957, allocations: 7.984 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.1958, allocations: 27.91 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.1958, allocations: 39.89 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1958, allocations: 4 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.196, allocations: 87.84 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.1961, allocations: 11.98 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.1961, allocations: 33.64 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1963, allocations: 100 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1963, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1963, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.1963, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 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.0004901/0.1968, allocations: 413 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1968, allocations: 8.031 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1969, allocations: 38.75 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1969, allocations: 12.78 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.197, allocations: 176.2 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.197, allocations: 4.375 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1971, allocations: 8.375 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1972, allocations: 73.78 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1972, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1973, allocations: 4 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1973, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1974, allocations: 39.97 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.1979, allocations: 320.8 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.198, allocations: 50.5 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.1981, allocations: 40.95 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1981, allocations: 8.047 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.1983, allocations: 79.38 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1983, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000363/0.1987, allocations: 153.5 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1987, allocations: 59.41 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.1988, allocations: 121.8 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1988, allocations: 29.7 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1988, allocations: 95.98 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.1989, allocations: 15.89 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.1989, allocations: 0 / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.1989, allocations: 330.8 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.199, allocations: 27.98 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.1991, allocations: 54.48 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1992, allocations: 78.5 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1992, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.1994, allocations: 117.5 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1995, allocations: 8.062 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1995, allocations: 4 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1995, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.1996, allocations: 11.98 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1996, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1997, allocations: 11.89 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1997, allocations: 7.938 kB / 0.9834 GB, free: 23.07 MB / 0.6198 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 (win.occ,$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 6.56e-05/0.1998, allocations: 126.8 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1998, allocations: 8 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.1998, allocations: 4.375 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1998, allocations: 4 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1998, allocations: 0 / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1998, allocations: 3.984 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.2002, allocations: 390.3 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2002, allocations: 11.94 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.2002, allocations: 7.984 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.2002, allocations: 4 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2003, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2003, allocations: 3.938 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2003, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.2005, allocations: 219.4 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.2005, allocations: 77.11 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2005, allocations: 4 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.2006, allocations: 11.92 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.2007, allocations: 3.938 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2007, allocations: 11.98 kB / 0.9842 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.2007, allocations: 91.22 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2007, allocations: 4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002619/0.201, allocations: 39.98 kB / 0.9844 GB, free: 21.96 MB / 0.6198 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,win.occ,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.0005895/0.2016, allocations: 0.811 MB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2018, allocations: 79.84 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2018, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.2019, allocations: 40.11 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2021, allocations: 14.09 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.203, allocations: 0.6078 MB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2031, allocations: 0.6926 MB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2032, allocations: 4 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.2032, allocations: 19.44 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2032, allocations: 0 / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.2161, allocations: 2.312 MB / 0.9888 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.2163, allocations: 241.1 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.705, allocations: 0 / 0.9891 GB, free: 17.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)