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.428/1.428, 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.001037/0.001038, allocations: 176.4 kB / 325.8 MB, free: 2.688 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.685/1.685, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007973/0.0007972, allocations: 87.92 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8.719 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1619, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001402/0.1633, allocations: 1.235 MB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1644, allocations: 0.7921 MB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.1644, allocations: 4 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.1645, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.1645, allocations: 11.86 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.1649, allocations: 99.77 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.165, allocations: 75.77 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.063e-05/0.1651, allocations: 8 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.1652, allocations: 39.91 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1652, allocations: 35.83 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1653, allocations: 0 / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1654, allocations: 91.84 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.1654, allocations: 7.984 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.1655, allocations: 35.78 kB / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1656, allocations: 131.7 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1656, allocations: 3.938 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1657, allocations: 0 / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1657, allocations: 4 kB / 0.8987 GB, free: 65.49 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.0004251/0.1661, allocations: 397.1 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1661, allocations: 8.031 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.1662, allocations: 46.73 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.1662, allocations: 8.844 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.1663, allocations: 172.2 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1663, allocations: 384 / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.1663, allocations: 8.375 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1665, allocations: 81.77 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1665, allocations: 0 / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1665, allocations: 0 / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1665, allocations: 0 / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1667, allocations: 43.97 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.1672, allocations: 332.5 kB / 0.8997 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1673, allocations: 46.56 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.1674, allocations: 36.97 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1674, allocations: 4 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.1675, allocations: 79.38 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.1676, allocations: 3.938 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000319/0.1679, allocations: 149.6 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1679, allocations: 55.47 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.168, allocations: 125.7 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.168, allocations: 25.7 kB / 0.9003 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.168, allocations: 100.1 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.1681, allocations: 11.81 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1681, allocations: 21.72 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.1681, allocations: 322.8 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.1682, allocations: 27.98 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.1683, allocations: 54.98 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1684, allocations: 78.5 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1685, allocations: 0 / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001924/0.1687, allocations: 121.5 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1687, allocations: 8 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1687, allocations: 0 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1687, allocations: 0 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.1688, allocations: 15.92 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1688, allocations: 4 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.1689, allocations: 11.92 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1689, allocations: 4 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 6.153e-05/0.169, allocations: 124.8 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.169, allocations: 7.906 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.169, allocations: 8.375 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.169, allocations: 4 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.169, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.169, allocations: 3.984 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.1694, allocations: 398.8 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1694, allocations: 0 / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.1694, allocations: 4 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1694, allocations: 4 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1694, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1694, allocations: 7.875 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1694, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1697, allocations: 227.3 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.1697, allocations: 85.02 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1697, allocations: 4 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.1698, allocations: 11.92 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1698, allocations: 4 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1698, allocations: 3.984 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.779e-05/0.1699, allocations: 95.44 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1699, allocations: 4 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002506/0.1701, allocations: 43.92 kB / 0.902 GB, free: 61.76 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.0005367/0.1707, allocations: 0.7991 MB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1709, allocations: 71.91 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1709, allocations: 4.125 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.171, allocations: 35.92 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1712, allocations: 19.3 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1723, allocations: 1.507 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.1725, allocations: 0.6964 MB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.1725, allocations: 8.531 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1726, allocations: 23.38 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1726, allocations: 0 / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1832, allocations: 2.337 MB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.1834, allocations: 266.6 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.717, allocations: 0 / 0.9076 GB, free: 55.96 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)