Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.0008282/0.0008282, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004997/0.004997, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.236/1.236, 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.608/1.608, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004812/0.0004813, allocations: 19.44 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1778, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001319/0.1791, allocations: 1.227 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1801, allocations: 0.7723 MB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1802, allocations: 0 / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1802, allocations: 3.938 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.1803, allocations: 15.91 kB / 0.79 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1806, allocations: 103.8 kB / 0.7901 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.615e-05/0.1807, allocations: 91.7 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.364e-05/0.1808, allocations: 12 kB / 0.7902 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.1809, allocations: 39.89 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.1809, allocations: 35.84 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.181, allocations: 4 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1811, allocations: 91.84 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1811, allocations: 19.91 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.1812, allocations: 65.55 kB / 0.7904 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1814, allocations: 151.8 kB / 0.7906 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1814, allocations: 0 / 0.7906 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1814, allocations: 0 / 0.7906 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.1814, allocations: 0 / 0.7906 GB, free: 8.855 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004276/0.1818, allocations: 446.6 kB / 0.791 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.1819, allocations: 11.97 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1819, allocations: 38.73 kB / 0.791 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1819, allocations: 12.84 kB / 0.791 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/0.182, allocations: 176.2 kB / 0.7912 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.182, allocations: 4.375 kB / 0.7912 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.1821, allocations: 8.359 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1823, allocations: 97.69 kB / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1823, allocations: 0 / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1823, allocations: 0 / 0.7913 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1823, allocations: 4 kB / 0.7913 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1824, allocations: 51.97 kB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1829, allocations: 328.6 kB / 0.7917 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.183, allocations: 74.59 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.1831, allocations: 44.83 kB / 0.7918 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1832, allocations: 4 kB / 0.7918 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.1833, allocations: 95.36 kB / 0.7919 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.1834, allocations: 0 / 0.7919 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004147/0.1838, allocations: 193.5 kB / 0.7921 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1838, allocations: 63.34 kB / 0.7921 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.1839, allocations: 125.1 kB / 0.7923 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1839, allocations: 33.7 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.184, allocations: 96.64 kB / 0.7924 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.184, allocations: 23.89 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.184, allocations: 29.64 kB / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.1841, allocations: 318.8 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.1842, allocations: 39.91 kB / 0.7928 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.1843, allocations: 76.25 kB / 0.7928 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1845, allocations: 113.9 kB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1845, allocations: 0 / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002388/0.1847, allocations: 149.5 kB / 0.7931 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.1848, allocations: 4 kB / 0.7931 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1848, allocations: 4 kB / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.1848, allocations: 0 / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.1849, allocations: 15.98 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1849, allocations: 7.938 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.1849, allocations: 19.91 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.185, allocations: 4 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.768e-05/0.1851, allocations: 134.4 kB / 0.7933 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1851, allocations: 3.906 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.1851, allocations: 12.38 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1851, allocations: 0 / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.1851, allocations: 96 / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1851, allocations: 3.984 kB / 0.7933 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.1856, allocations: 442.4 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1856, allocations: 0 / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1856, allocations: 11.92 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1857, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1857, allocations: 0 / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1857, allocations: 4 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1857, allocations: 3.938 kB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.186, allocations: 255.3 kB / 0.794 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.186, allocations: 85 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1861, allocations: 8 kB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.1862, allocations: 4.188 kB / 0.7941 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.1862, allocations: 11.86 kB / 0.7941 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1862, allocations: 7.938 kB / 0.7941 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.1863, allocations: 103.3 kB / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1863, allocations: 0 / 0.7942 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002694/0.1865, allocations: 43.98 kB / 0.7942 GB, free: 4.703 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006822/0.1872, allocations: 0.8403 MB / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.1875, allocations: 104 kB / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1875, allocations: 0 / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1876, allocations: 52 kB / 0.7952 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1879, allocations: 19.92 kB / 0.7952 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1892, allocations: 1.633 MB / 0.7968 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1895, allocations: 0.6887 MB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.1895, allocations: 4.188 kB / 0.7975 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1895, allocations: 23.42 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.1895, allocations: 0 / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9057/1.095, allocations: 2.635 MB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/1.096, allocations: 268.4 kB / 0.8003 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.904, allocations: 0 / 0.8003 GB, free: 14.38 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)