Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.0008404/0.0008404, 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.004992/0.004992, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.475/1.475, 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.72/1.72, 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.0004881/0.0004882, allocations: 16.8 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001517/0.1769, allocations: 1.223 MB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1781, allocations: 0.7568 MB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.1781, allocations: 0 / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.1781, allocations: 3.938 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1782, allocations: 11.92 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.1786, allocations: 95.78 kB / 0.79 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.1788, allocations: 75.81 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.1788, allocations: 8 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.002e-05/0.1789, allocations: 39.8 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.179, allocations: 31.88 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.179, allocations: 4 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1792, allocations: 91.91 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.1792, allocations: 11.92 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.1793, allocations: 53.56 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1795, allocations: 147.8 kB / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1795, allocations: 0 / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1795, allocations: 4 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1795, allocations: 0 / 0.7905 GB, free: 8.887 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.0005279/0.1801, allocations: 401 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1801, allocations: 8.031 kB / 0.7909 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1802, allocations: 38.75 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1802, allocations: 8.844 kB / 0.7909 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1803, allocations: 180.2 kB / 0.7911 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1803, allocations: 4.375 kB / 0.7911 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1804, allocations: 8.375 kB / 0.7911 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1805, allocations: 77.72 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.1805, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1806, allocations: 0 / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1806, allocations: 3.938 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1807, allocations: 47.97 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.1813, allocations: 312.8 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1814, allocations: 58.56 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/0.1815, allocations: 32.97 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1815, allocations: 0 / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1817, allocations: 79.31 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1817, allocations: 4 kB / 0.7917 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003759/0.1821, allocations: 153.8 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1822, allocations: 55.41 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.1823, allocations: 121.8 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1823, allocations: 25.7 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1823, allocations: 104 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1824, allocations: 11.97 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1824, allocations: 25.64 kB / 0.7922 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.1825, allocations: 322.8 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.1826, allocations: 27.98 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1827, allocations: 59.41 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.1829, allocations: 83.34 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1829, allocations: 4 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002543/0.1832, allocations: 125.4 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1832, allocations: 4 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1832, allocations: 4 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.1832, allocations: 0 / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.1833, allocations: 15.92 kB / 0.7928 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1833, allocations: 8.062 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.1834, allocations: 11.97 kB / 0.7928 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1834, allocations: 16.05 kB / 0.7928 GB, free: 6.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.167e-05/0.1835, allocations: 122.4 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1835, allocations: 4 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.1836, allocations: 8.375 kB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1836, allocations: 4 kB / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1836, allocations: 0 / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1836, allocations: 0 / 0.793 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.184, allocations: 386.3 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.184, allocations: 4 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.1841, allocations: 7.984 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1841, allocations: 0 / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1841, allocations: 0 / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1841, allocations: 7.875 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1841, allocations: 0 / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1844, allocations: 227.3 kB / 0.7936 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.1844, allocations: 81.11 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1845, allocations: 0 / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.1846, allocations: 11.92 kB / 0.7936 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1846, allocations: 12 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1846, allocations: 0 / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.1847, allocations: 95.27 kB / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 0 / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002932/0.185, allocations: 39.98 kB / 0.7938 GB, free: 5.141 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,occ.y,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.0007084/0.1857, allocations: 0.7983 MB / 0.7946 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1859, allocations: 83.95 kB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1859, allocations: 0 / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.186, allocations: 43.91 kB / 0.7947 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1863, allocations: 15.8 kB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1878, allocations: 1.532 MB / 0.7962 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.188, allocations: 0.6887 MB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.1881, allocations: 4 kB / 0.7969 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1881, allocations: 23.42 kB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.1881, allocations: 4 kB / 0.7969 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.1991, allocations: 2.324 MB / 0.7992 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.1993, allocations: 258.5 kB / 0.7994 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/1.74, allocations: 0 / 0.7994 GB, free: 15.39 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)