Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001288/0.001288, 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.01052/0.01052, allocations: 169.6 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.453/1.453, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.676/1.676, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004673/0.0004674, allocations: 15.94 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001498/0.1756, allocations: 1.231 MB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1767, allocations: 0.7528 MB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.1767, allocations: 4 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1768, allocations: 7.938 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.1768, allocations: 3.938 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1772, allocations: 103.8 kB / 0.79 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.1773, allocations: 71.83 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.013e-05/0.1774, allocations: 4 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.1775, allocations: 39.78 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.1776, allocations: 39.89 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1776, allocations: 0 / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1778, allocations: 91.91 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.1778, allocations: 11.92 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.1779, allocations: 49.56 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1781, allocations: 147.8 kB / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1781, allocations: 0 / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1781, allocations: 0 / 0.7905 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1781, allocations: 0 / 0.7905 GB, free: 8.883 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.0005234/0.1786, allocations: 409 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1786, allocations: 12.03 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.1787, allocations: 34.75 kB / 0.7909 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1787, allocations: 8.844 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1788, allocations: 180.2 kB / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1789, allocations: 384 / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1789, allocations: 4.375 kB / 0.7911 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1791, allocations: 81.78 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1791, allocations: 0 / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1791, allocations: 3.938 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1791, allocations: 0 / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1792, allocations: 43.97 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.1798, allocations: 320.8 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1799, allocations: 46.56 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.18, allocations: 32.97 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.18, allocations: 12.02 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1802, allocations: 83.36 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.1802, allocations: 0 / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000377/0.1806, allocations: 149.5 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1806, allocations: 55.41 kB / 0.7919 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.1807, allocations: 117.8 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1808, allocations: 25.7 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.1808, allocations: 99.97 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1808, allocations: 15.84 kB / 0.7921 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1809, allocations: 21.7 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.181, allocations: 326.7 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.1811, allocations: 27.98 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.1812, allocations: 58.53 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1813, allocations: 82.84 kB / 0.7926 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1814, allocations: 3.938 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002313/0.1816, allocations: 117.4 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1816, allocations: 8 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1816, allocations: 4.062 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.1816, allocations: 0 / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.1817, allocations: 12 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1817, allocations: 7.984 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.1818, allocations: 7.906 kB / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1818, allocations: 4 kB / 0.7928 GB, free: 6.258 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 8.206e-05/0.1819, allocations: 117.8 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1819, allocations: 8 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.182, allocations: 12.36 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.182, allocations: 7.938 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.182, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.182, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.1824, allocations: 390.3 kB / 0.7933 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1824, allocations: 4 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.1825, allocations: 11.98 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1825, allocations: 0 / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1825, allocations: 3.984 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1825, allocations: 3.938 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1825, allocations: 3.938 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1828, allocations: 211.4 kB / 0.7935 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.1828, allocations: 81.11 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1829, allocations: 7.984 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.183, allocations: 7.938 kB / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.183, allocations: 7.984 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.183, allocations: 0 / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.698e-05/0.1831, allocations: 95.27 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1831, allocations: 0 / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002705/0.1833, allocations: 40 kB / 0.7938 GB, free: 5.164 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.0007076/0.1841, allocations: 0.8173 MB / 0.7946 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1843, allocations: 79.89 kB / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1843, allocations: 0 / 0.7946 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.1844, allocations: 44.09 kB / 0.7947 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1846, allocations: 7.938 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.001464/0.1861, allocations: 1.52 MB / 0.7962 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1864, allocations: 0.6926 MB / 0.7968 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.1864, allocations: 4 kB / 0.7968 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.1864, allocations: 23.42 kB / 0.7969 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1864, allocations: 0 / 0.7969 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.1976, allocations: 2.326 MB / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1978, allocations: 259.9 kB / 0.7994 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.773, allocations: 0 / 0.7994 GB, free: 15.42 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)