Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.618/1.618, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001245/0.001245, allocations: 181.8 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009133/0.0009134, allocations: 92.61 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003103, allocations: 9.188 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001408/0.2063, allocations: 1.203 MB / 0.9013 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.2073, allocations: 0.7264 MB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.2073, allocations: 4 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.2073, allocations: 3.938 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.2074, allocations: 11.97 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2078, allocations: 91.7 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.2079, allocations: 51.86 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.208, allocations: 8 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.208, allocations: 27.92 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.2081, allocations: 39.88 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2081, allocations: 7.938 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2082, allocations: 63.94 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2083, allocations: 11.98 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2083, allocations: 37.62 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.2084, allocations: 91.78 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2085, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2085, allocations: 0 / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2085, allocations: 0 / 0.9025 GB, free: 61.42 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.0004603/0.2089, allocations: 417.1 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.209, allocations: 8.031 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.209, allocations: 38.55 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.209, allocations: 11.86 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.2091, allocations: 178.9 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2092, allocations: 4 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2092, allocations: 8 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2093, allocations: 69.66 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2094, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.2094, allocations: 3.984 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2094, allocations: 0 / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2095, allocations: 43.92 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.21, allocations: 320.8 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.2102, allocations: 50.5 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2102, allocations: 8.062 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.2104, allocations: 87.44 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.2104, allocations: 0 / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003437/0.2107, allocations: 149.4 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.2108, allocations: 63.41 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.2108, allocations: 117.8 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2108, allocations: 29.7 kB / 0.904 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.2109, allocations: 88.23 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.2109, allocations: 23.81 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.2109, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.211, allocations: 318.8 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.2111, allocations: 35.97 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.2111, allocations: 46.56 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.2112, allocations: 31.98 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2112, allocations: 0 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001953/0.2114, allocations: 121.5 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2115, allocations: 4 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2115, allocations: 4 kB / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2115, allocations: 0 / 0.9046 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.2116, allocations: 19.88 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2116, allocations: 4 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.2117, allocations: 11.97 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2117, allocations: 8 kB / 0.9047 GB, free: 58.9 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.481e-05/0.2117, allocations: 113.8 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2118, allocations: 7.984 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.2118, allocations: 8.375 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2118, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2118, allocations: 7.953 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2118, allocations: 3.938 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.2122, allocations: 386.4 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2122, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2122, allocations: 4 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2122, allocations: 3.984 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2122, allocations: 7.953 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2122, allocations: 4 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2123, allocations: 0 / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2125, allocations: 219.8 kB / 0.9054 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.2125, allocations: 85.03 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2125, allocations: 4 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.2126, allocations: 15.89 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2127, allocations: 7.984 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2127, allocations: 8 kB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.2127, allocations: 91.92 kB / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2127, allocations: 0 / 0.9056 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002668/0.213, allocations: 36 kB / 0.9057 GB, free: 57.8 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.0006122/0.2136, allocations: 0.8036 MB / 0.9064 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.2138, allocations: 79.95 kB / 0.9065 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2138, allocations: 0 / 0.9065 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.2139, allocations: 39.92 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.2141, allocations: 3.953 kB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.2147, allocations: 0.7285 MB / 0.9073 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.2148, allocations: 0.6947 MB / 0.9079 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.2148, allocations: 8.172 kB / 0.908 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2149, allocations: 23.36 kB / 0.908 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2149, allocations: 0 / 0.908 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2267, allocations: 2.306 MB / 0.9102 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.2269, allocations: 258.1 kB / 0.9105 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.859, allocations: 0 / 0.9105 GB, free: 52.87 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)