Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.0006798/0.0006798, 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.004118/0.004118, allocations: 170 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.203/1.203, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.52/1.52, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005186/0.0005186, allocations: 13.84 kB / 0.6744 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1789, allocations: 116.3 MB / 0.788 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001337/0.1802, allocations: 1.223 MB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1813, allocations: 0.7567 MB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1813, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.1814, allocations: 3.938 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.1814, allocations: 3.938 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1818, allocations: 95.77 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.1819, allocations: 71.78 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.182, allocations: 15.92 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.182, allocations: 27.91 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.1821, allocations: 31.91 kB / 0.7902 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1821, allocations: 0 / 0.7902 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1823, allocations: 91.84 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1823, allocations: 11.92 kB / 0.7903 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.1824, allocations: 57.56 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1825, allocations: 131.9 kB / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1825, allocations: 0 / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1825, allocations: 0 / 0.7904 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.756e-06/0.1826, allocations: 4 kB / 0.7904 GB, free: 8.98 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.0004633/0.183, allocations: 426.8 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1831, allocations: 16.02 kB / 0.7909 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.1831, allocations: 30.75 kB / 0.7909 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.1831, allocations: 12.78 kB / 0.7909 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1832, allocations: 180.2 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1833, allocations: 4.375 kB / 0.7911 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1833, allocations: 12.36 kB / 0.7911 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1835, allocations: 77.77 kB / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.1835, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1835, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1835, allocations: 0 / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.1836, allocations: 47.97 kB / 0.7912 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.184, allocations: 296.8 kB / 0.7915 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1842, allocations: 50.55 kB / 0.7915 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.1842, allocations: 36.97 kB / 0.7916 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1843, allocations: 4 kB / 0.7916 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1844, allocations: 83.44 kB / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1844, allocations: 0 / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003522/0.1848, allocations: 149.5 kB / 0.7918 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1848, allocations: 51.41 kB / 0.7919 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.1849, allocations: 129.7 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.185, allocations: 29.7 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.185, allocations: 92.05 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.185, allocations: 15.8 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.1851, allocations: 21.66 kB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.1852, allocations: 330.8 kB / 0.7924 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.1852, allocations: 23.98 kB / 0.7925 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.908e-05/0.1853, allocations: 65.08 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1855, allocations: 97 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1855, allocations: 4 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.1857, allocations: 113.5 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1857, allocations: 8 kB / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1857, allocations: 0 / 0.7927 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.1858, allocations: 4 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1858, allocations: 20.14 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1859, allocations: 4 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1859, allocations: 7.906 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1859, allocations: 4 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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 7.478e-05/0.186, allocations: 129.6 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.186, allocations: 7.906 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.1861, allocations: 12.38 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1861, allocations: 0 / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1861, allocations: 4 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1861, allocations: 0 / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1865, allocations: 386.4 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1865, allocations: 0 / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.1865, allocations: 11.98 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1866, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1866, allocations: 4 kB / 0.7933 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1866, allocations: 3.938 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1866, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.1868, allocations: 219.4 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.1869, allocations: 81.02 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1869, allocations: 8 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.187, allocations: 15.92 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.187, allocations: 7.969 kB / 0.7936 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.1871, allocations: 4 kB / 0.7936 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.1871, allocations: 91.27 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1871, allocations: 0 / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002558/0.1874, allocations: 43.92 kB / 0.7938 GB, free: 5.191 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0006578/0.188, allocations: 0.802 MB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1882, allocations: 75.91 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1882, allocations: 0 / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.1883, allocations: 39.92 kB / 0.7947 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1886, allocations: 24.11 kB / 0.7947 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1899, allocations: 1.543 MB / 0.7962 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1901, allocations: 0.6887 MB / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.1902, allocations: 4 kB / 0.7969 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1902, allocations: 19.42 kB / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1902, allocations: 0 / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.902/3.092, allocations: 2.316 MB / 0.7991 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/3.092, allocations: 260 kB / 0.7994 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/4.908, allocations: 0 / 0.7994 GB, free: 15.43 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)