Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.362/1.362, allocations: 251.5 MB / 266.7 MB, free: 11.07 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.0009053/0.0009052, allocations: 172.5 kB / 325.8 MB, free: 2.703 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.383/1.383, allocations: 205 MB / 0.576 GB, free: 20.96 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.000696/0.0006961, allocations: 94.28 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 12.88 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001312/0.1512, allocations: 1.235 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.1521, allocations: 0.7921 MB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1522, allocations: 0 / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1522, allocations: 0 / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.1523, allocations: 7.875 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1527, allocations: 103.8 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.1527, allocations: 79.7 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.1528, allocations: 8 kB / 0.8984 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.1529, allocations: 35.91 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.1529, allocations: 39.83 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.153, allocations: 0 / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1531, allocations: 91.84 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1531, allocations: 11.98 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.1532, allocations: 27.8 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1533, allocations: 135.7 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1534, allocations: 4 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1534, allocations: 0 / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.1534, 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.0004222/0.1538, allocations: 401.1 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1538, allocations: 12.03 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.1539, allocations: 38.73 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.1539, allocations: 8.844 kB / 0.8991 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.154, allocations: 180.2 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.154, allocations: 384 / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.154, allocations: 8.359 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1542, allocations: 77.78 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1542, allocations: 0 / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1542, allocations: 0 / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1542, allocations: 0 / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1543, allocations: 47.97 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.1548, allocations: 328.6 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1549, allocations: 50.56 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/0.155, allocations: 40.91 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.155, allocations: 0 / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1552, allocations: 83.44 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1552, allocations: 4 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003206/0.1555, allocations: 145.6 kB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.1556, allocations: 55.41 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.1556, allocations: 125.7 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.1556, allocations: 25.7 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.1557, allocations: 96.12 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1557, allocations: 15.81 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1557, allocations: 17.72 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.1558, allocations: 322.8 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.1558, allocations: 27.98 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.1559, allocations: 58.55 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1561, allocations: 82.47 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1561, 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.1563, allocations: 113.8 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1563, allocations: 8 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1563, allocations: 80 / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1563, allocations: 3.984 kB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.1564, allocations: 12 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1564, allocations: 7.922 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.1565, allocations: 19.98 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1565, 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 5.727e-05/0.1566, allocations: 117.8 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1566, allocations: 7.906 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.1566, allocations: 8.375 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1566, allocations: 7.984 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1566, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1566, allocations: 0 / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.157, allocations: 390.4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.157, allocations: 4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.157, allocations: 4 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.157, allocations: 0 / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1571, allocations: 3.938 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1571, allocations: 7.922 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1571, allocations: 0 / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1573, allocations: 211.4 kB / 0.9017 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.1573, allocations: 88.95 kB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1573, allocations: 4 kB / 0.9018 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.1574, allocations: 11.92 kB / 0.9018 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1575, allocations: 8 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.1575, allocations: 7.922 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.1575, allocations: 99.86 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002536/0.1578, allocations: 36 kB / 0.902 GB, free: 61.78 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.000545/0.1583, allocations: 0.8073 MB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1585, allocations: 79.97 kB / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1586, allocations: 0 / 0.9028 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.1587, allocations: 43.91 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.0002458/0.1589, allocations: 11.12 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.16, allocations: 1.508 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.1602, allocations: 0.6887 MB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.1602, allocations: 11.92 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.1602, allocations: 23.38 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/0.1602, allocations: 0 / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.1839, allocations: 2.334 MB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001428/0.1841, allocations: 266.6 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.908, allocations: 1.828 kB / 0.9076 GB, free: 55.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)