Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 288.4 MB / 303.6 MB, free: 7.945 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.001012/0.001012, allocations: 186.5 kB / 372.3 MB, free: 10.12 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.479/1.479, allocations: 205.4 MB / 0.631 GB, free: 9.926 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.0007405/0.0007406, allocations: 94.23 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 15.03 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001705/0.2187, allocations: 1.207 MB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2199, allocations: 0.7227 MB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.22, allocations: 0 / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.2201, allocations: 7.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.2202, allocations: 7.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.2207, allocations: 95.75 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2208, allocations: 71.77 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2209, allocations: 8 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.221, allocations: 27.91 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.2211, allocations: 31.89 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2211, allocations: 4 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2213, allocations: 91.84 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.2214, allocations: 15.92 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.2214, allocations: 53.56 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2216, allocations: 96.03 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2216, allocations: 4 kB / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2216, allocations: 0 / 0.9826 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2216, allocations: 0 / 0.9826 GB, free: 24.79 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.000574/0.2222, allocations: 413 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2223, allocations: 12.03 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.2223, allocations: 30.75 kB / 0.983 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.2224, allocations: 12.84 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.2225, allocations: 176.2 kB / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2225, allocations: 8.375 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2225, allocations: 4.375 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2227, allocations: 73.77 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2227, allocations: 0 / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2228, allocations: 4 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2228, allocations: 7.938 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2229, allocations: 43.97 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.2235, allocations: 316.8 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2236, allocations: 58.55 kB / 0.9837 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.813e-05/0.2237, allocations: 32.97 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2237, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.2239, allocations: 87.25 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2239, allocations: 0 / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003709/0.2243, allocations: 149.6 kB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.2244, allocations: 55.41 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.2244, allocations: 121.8 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2245, allocations: 25.7 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.2245, allocations: 99.98 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.2245, allocations: 7.906 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.2245, allocations: 7.938 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.2246, allocations: 322.8 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.2247, allocations: 35.92 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.2248, allocations: 50.55 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2249, allocations: 74.56 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2249, allocations: 0 / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000214/0.2252, allocations: 117.5 kB / 0.9848 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2252, allocations: 9.812 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2252, allocations: 4 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2252, allocations: 0 / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.2253, allocations: 16.05 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2253, allocations: 4 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.2254, allocations: 15.89 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2254, allocations: 4 kB / 0.9849 GB, free: 22.19 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 7.308e-05/0.2255, allocations: 118.8 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.2255, allocations: 4 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.2255, allocations: 8.375 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2256, allocations: 4 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2256, allocations: 3.938 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2256, allocations: 7.984 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.2259, allocations: 386.3 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.226, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.226, allocations: 4 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.226, allocations: 4 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.226, allocations: 8 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.226, allocations: 4.406 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.226, allocations: 0 / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2263, allocations: 223.3 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.2263, allocations: 81.11 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2263, allocations: 0 / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.2264, allocations: 19.92 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.2265, allocations: 4 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2265, allocations: 11.92 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2265, allocations: 91.88 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2265, allocations: 3.938 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002746/0.2268, allocations: 39.98 kB / 0.9858 GB, free: 21.09 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.0006471/0.2275, allocations: 0.8058 MB / 0.9866 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2277, allocations: 75.91 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2277, allocations: 0 / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.2278, allocations: 35.98 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.2281, allocations: 18.3 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.2289, allocations: 0.6105 MB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2291, allocations: 0.6848 MB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.2291, allocations: 4 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.2292, allocations: 27.42 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.2292, allocations: 0 / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.2417, allocations: 2.323 MB / 0.9903 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.2419, allocations: 257.5 kB / 0.9906 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/1.976, allocations: 3.234 kB / 0.9906 GB, free: 16.25 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)