Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.393/1.393, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001045/0.001045, allocations: 174.6 kB / 325.8 MB, free: 2.691 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.923/1.923, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007248/0.0007246, allocations: 99.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8.781 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001382/0.1752, allocations: 1.231 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1763, allocations: 0.7844 MB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.1763, allocations: 0 / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1764, allocations: 0 / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.1764, allocations: 15.84 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1768, allocations: 107.8 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.1769, allocations: 63.78 kB / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.177, allocations: 16 kB / 0.8984 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.923e-05/0.177, allocations: 35.89 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.1771, allocations: 39.78 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1771, allocations: 4 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.1773, allocations: 83.84 kB / 0.8985 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.1773, allocations: 11.98 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.1774, allocations: 35.78 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1775, allocations: 127.7 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1775, allocations: 7.938 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1776, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.1776, allocations: 0 / 0.8987 GB, free: 65.51 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.0004429/0.178, allocations: 405.1 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.178, allocations: 12.03 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.1781, allocations: 30.75 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.1781, allocations: 8.844 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.605e-05/0.1782, allocations: 176.2 kB / 0.8993 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1782, allocations: 12.38 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1782, allocations: 384 / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1784, allocations: 77.78 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1784, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1784, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1784, allocations: 0 / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1786, allocations: 47.97 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.1791, allocations: 328.5 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1792, allocations: 50.56 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.1793, allocations: 36.97 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1793, allocations: 3.984 kB / 0.8998 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1794, allocations: 71.39 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.1795, allocations: 7.938 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003338/0.1798, allocations: 145.7 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.1798, allocations: 55.39 kB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.282e-05/0.1799, allocations: 129.6 kB / 0.9002 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1799, allocations: 37.69 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.18, allocations: 88.14 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.18, allocations: 15.81 kB / 0.9004 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.18, allocations: 21.7 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.1801, allocations: 318.8 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.1801, allocations: 31.97 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.1802, allocations: 50.56 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1804, allocations: 78.48 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1804, allocations: 0 / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001971/0.1806, allocations: 121.5 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1806, allocations: 8 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1806, allocations: 4 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1806, allocations: 7.922 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.1807, allocations: 15.94 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1807, allocations: 4.375 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.1808, allocations: 12 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1808, allocations: 8 kB / 0.901 GB, free: 62.88 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,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 5.957e-05/0.1809, allocations: 117.8 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1809, allocations: 7.906 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.1809, allocations: 16.36 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1809, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1809, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.181, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.1813, allocations: 394.4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1813, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.1814, allocations: 4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1814, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1814, allocations: 3.984 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1814, allocations: 7.875 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1814, allocations: 0 / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1816, allocations: 223.3 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.1816, allocations: 85.02 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1817, allocations: 3.984 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.1818, allocations: 7.938 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1818, allocations: 15.98 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1818, allocations: 0 / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.1818, allocations: 95.27 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1819, allocations: 0 / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002524/0.1821, allocations: 36 kB / 0.902 GB, free: 61.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 (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.0005379/0.1827, allocations: 0.8091 MB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1829, allocations: 80.02 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1829, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.183, allocations: 39.92 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1832, allocations: 11.94 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1843, allocations: 1.5 MB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.1844, allocations: 0.6925 MB / 0.905 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.1845, allocations: 11.97 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1845, allocations: 23.38 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1845, allocations: 0 / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.1969, allocations: 2.332 MB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.1972, allocations: 271.2 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.772, allocations: 0 / 0.9076 GB, free: 55.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)