Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009506/0.009506, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004993, allocations: 20.25 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.197, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002289/0.1993, allocations: 1.227 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2011, allocations: 0.7529 MB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.2012, allocations: 0 / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2012, allocations: 3.938 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.2013, allocations: 7.922 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.2019, allocations: 107.8 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2021, allocations: 63.84 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.2022, allocations: 12 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2023, allocations: 39.77 kB / 0.7901 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.2024, allocations: 31.91 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2024, allocations: 4 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.2027, allocations: 87.91 kB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.2028, allocations: 19.91 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.2028, allocations: 53.56 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2031, allocations: 143.8 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2032, allocations: 3.938 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2032, allocations: 0 / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2032, allocations: 0 / 0.7905 GB, free: 8.879 MB / 0.6075 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.0006936/0.2039, allocations: 401 kB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2039, allocations: 12.03 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.204, allocations: 34.75 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.2041, allocations: 12.84 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2042, allocations: 180.2 kB / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.2042, allocations: 4.375 kB / 0.7911 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.2043, allocations: 4.375 kB / 0.7911 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2045, allocations: 77.77 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2046, allocations: 3.938 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2046, allocations: 0 / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2046, allocations: 0 / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.2048, allocations: 47.97 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.2056, allocations: 312.8 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.2058, allocations: 50.56 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.206, allocations: 44.89 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.206, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.2063, allocations: 83.38 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.2063, allocations: 0 / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005384/0.2068, allocations: 145.6 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2069, allocations: 55.41 kB / 0.7919 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.207, allocations: 129.8 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.2071, allocations: 33.64 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.2071, allocations: 91.98 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.2072, allocations: 11.91 kB / 0.7921 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.2072, allocations: 21.7 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2074, allocations: 322.8 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2075, allocations: 27.97 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2077, allocations: 50.56 kB / 0.7925 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.2079, allocations: 86.42 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.2079, allocations: 4 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003767/0.2083, allocations: 121.5 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2083, allocations: 4 kB / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2083, allocations: 0 / 0.7927 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2084, allocations: 4 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2085, allocations: 11.98 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2085, allocations: 0 / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.2086, allocations: 19.97 kB / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2086, allocations: 400 / 0.7928 GB, free: 6.262 MB / 0.6075 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/0.2087, allocations: 125.4 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.2087, allocations: 7.875 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.2088, allocations: 16.36 kB / 0.7929 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2088, allocations: 3.984 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2088, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2088, allocations: 4 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006492/0.2095, allocations: 394.3 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2095, allocations: 0 / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.2095, allocations: 8 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2096, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2096, allocations: 3.984 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2096, allocations: 11.88 kB / 0.7933 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2096, allocations: 4 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.2099, allocations: 207.4 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.2099, allocations: 81.11 kB / 0.7936 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.21, allocations: 3.984 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.2101, allocations: 15.94 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.2101, allocations: 7.984 kB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2101, allocations: 4 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.2102, allocations: 91.27 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2102, allocations: 0 / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002873/0.2105, allocations: 36 kB / 0.7938 GB, free: 5.16 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000707/0.2112, allocations: 0.8047 MB / 0.7945 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.2114, allocations: 83.89 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2114, allocations: 0 / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.2115, allocations: 39.97 kB / 0.7947 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.2118, allocations: 18.8 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2132, allocations: 1.525 MB / 0.7962 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.2134, allocations: 0.6887 MB / 0.7968 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.2135, allocations: 0 / 0.7968 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.2135, allocations: 19.42 kB / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2135, allocations: 4 kB / 0.7969 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.2248, allocations: 2.327 MB / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.225, allocations: 263.9 kB / 0.7994 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.846, allocations: 0 / 0.7994 GB, free: 15.41 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)