Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.5 kB / 326.5 MB, free: 2.211 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.036/2.036, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008418/0.0008418, allocations: 90.36 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003321, allocations: 10.81 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001599/0.1899, allocations: 1.191 MB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.1909, allocations: 0.7303 MB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.191, allocations: 0 / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.191, allocations: 3.938 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.1911, allocations: 19.97 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1915, allocations: 95.62 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.273e-05/0.1916, allocations: 43.94 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.1917, allocations: 8 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.1918, allocations: 31.91 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.1918, allocations: 35.83 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1918, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.192, allocations: 67.94 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.192, allocations: 15.92 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.192, allocations: 29.7 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1922, allocations: 103.8 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1922, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1922, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1922, allocations: 0 / 0.9025 GB, free: 61.4 MB / 0.6042 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.0004977/0.1927, allocations: 409.2 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1928, allocations: 8.031 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.1928, allocations: 42.55 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.1928, allocations: 11.86 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/0.1929, allocations: 170.9 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.193, allocations: 4 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.193, allocations: 4 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1931, allocations: 73.64 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1932, allocations: 4 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1932, allocations: 0 / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1932, allocations: 4 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1933, allocations: 39.97 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.1938, allocations: 328.7 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.194, allocations: 50.56 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.194, allocations: 0 / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1942, allocations: 83.5 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1942, allocations: 3.938 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003425/0.1945, allocations: 153.5 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1946, allocations: 55.39 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.1946, allocations: 129.8 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1947, allocations: 25.7 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1947, allocations: 92.23 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1947, allocations: 15.83 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-06/0.1947, allocations: 4 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.1948, allocations: 314.8 kB / 0.9044 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.1949, allocations: 27.98 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.1949, allocations: 54.98 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.195, allocations: 35.92 kB / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.195, allocations: 0 / 0.9045 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001898/0.1952, allocations: 125.5 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1953, allocations: 6.969 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1953, allocations: 0 / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1953, allocations: 0 / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.1954, allocations: 19.94 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1954, allocations: 0 / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.1955, allocations: 7.906 kB / 0.9047 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1955, allocations: 12.06 kB / 0.9047 GB, free: 58.89 MB / 0.6042 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.378e-05/0.1955, allocations: 117.8 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.1956, allocations: 4 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.1956, allocations: 16.36 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1956, allocations: 4 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1956, allocations: 3.953 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1956, allocations: 0 / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1959, allocations: 386.4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.196, allocations: 4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.196, allocations: 4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.196, allocations: 0 / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.196, allocations: 7.938 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.196, allocations: 3.938 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.196, allocations: 0 / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1962, allocations: 219.9 kB / 0.9054 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.1963, allocations: 85.05 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1963, allocations: 7.969 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.1964, allocations: 7.953 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1964, allocations: 15.98 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.1964, allocations: 0 / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.99e-05/0.1965, allocations: 95.42 kB / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1965, allocations: 4 kB / 0.9056 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002676/0.1968, allocations: 36 kB / 0.9057 GB, free: 57.79 MB / 0.6042 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.0006401/0.1974, allocations: 0.8029 MB / 0.9064 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1976, allocations: 79.95 kB / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1976, allocations: 0 / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.1977, allocations: 35.98 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1979, allocations: 8.281 kB / 0.9066 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.1986, allocations: 0.7284 MB / 0.9073 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.1988, allocations: 0.6926 MB / 0.908 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.1989, allocations: 4.188 kB / 0.908 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1989, allocations: 23.42 kB / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1989, allocations: 0 / 0.908 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2125, allocations: 2.312 MB / 0.9102 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.2127, allocations: 260.5 kB / 0.9105 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.808, allocations: 4.062 kB / 0.9105 GB, free: 52.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)