Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.406/1.406, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008534/0.0008531, allocations: 171.3 kB / 325.8 MB, free: 2.711 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.575/1.575, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006831/0.0006832, allocations: 92.02 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 11.77 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1787, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001465/0.1802, allocations: 1.243 MB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1812, allocations: 0.7961 MB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.1813, allocations: 0 / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.1813, allocations: 0 / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.1814, allocations: 23.78 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1818, allocations: 107.8 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.1819, allocations: 87.7 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.182, allocations: 12 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.1821, allocations: 39.89 kB / 0.8985 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.1821, allocations: 39.84 kB / 0.8985 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1822, allocations: 4 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.1823, allocations: 91.84 kB / 0.8986 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.1823, allocations: 11.92 kB / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.1824, allocations: 51.77 kB / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1826, allocations: 135.6 kB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1826, allocations: 4 kB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1826, allocations: 0 / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.1826, allocations: 0 / 0.8988 GB, free: 65.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004325/0.183, allocations: 446.7 kB / 0.8992 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1831, allocations: 8.031 kB / 0.8992 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1831, allocations: 38.73 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.1831, allocations: 12.84 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.448e-05/0.1832, allocations: 182.9 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.1833, allocations: 4.375 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1833, allocations: 8.375 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1835, allocations: 93.75 kB / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1835, allocations: 0 / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1835, allocations: 0 / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1835, allocations: 0 / 0.8995 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1837, allocations: 55.91 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1841, allocations: 328.7 kB / 0.8999 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.1842, allocations: 62.56 kB / 0.9 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.1843, allocations: 48.83 kB / 0.9 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1843, allocations: 8.031 kB / 0.9 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1845, allocations: 95.36 kB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1845, allocations: 3.938 kB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003916/0.1849, allocations: 197.5 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.185, allocations: 59.41 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.185, allocations: 125.7 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.185, allocations: 29.7 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.1851, allocations: 88.38 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1851, allocations: 23.73 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.1851, allocations: 25.7 kB / 0.9006 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.1852, allocations: 322.8 kB / 0.9009 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.1852, allocations: 31.97 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.1853, allocations: 82.08 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1855, allocations: 113.9 kB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1855, allocations: 0 / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000207/0.1857, allocations: 153.3 kB / 0.9013 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1857, allocations: 10.5 kB / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1857, allocations: 0 / 0.9013 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1858, allocations: 4 kB / 0.9013 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1858, allocations: 16.14 kB / 0.9013 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1859, allocations: 8 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.1859, allocations: 11.94 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1859, allocations: 4 kB / 0.9014 GB, free: 62.52 MB / 0.6042 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 6.528e-05/0.186, allocations: 129 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.186, allocations: 15.89 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.1861, allocations: 12.31 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1861, allocations: 4 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1861, allocations: 4 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1861, allocations: 0 / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.1865, allocations: 438.7 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1865, allocations: 0 / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.1865, allocations: 7.984 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1865, allocations: 4 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1866, allocations: 4.094 kB / 0.9019 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1866, allocations: 3.938 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1866, allocations: 3.938 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1868, allocations: 247.4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.054e-05/0.1869, allocations: 92.95 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1869, allocations: 7.984 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.187, allocations: 4 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.187, allocations: 15.86 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.187, allocations: 4 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.1871, allocations: 95.27 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1871, allocations: 0 / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002718/0.1874, allocations: 43.98 kB / 0.9024 GB, free: 61.3 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: 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.0006082/0.188, allocations: 0.8551 MB / 0.9033 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1882, allocations: 99.86 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1882, allocations: 4 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.1883, allocations: 47.97 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.1885, allocations: 22.64 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1897, allocations: 1.611 MB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.288e-05/0.1898, allocations: 0.6965 MB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.1898, allocations: 8 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.1899, allocations: 23.42 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.1899, allocations: 0 / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4145/0.6044, allocations: 2.637 MB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.6046, allocations: 276.4 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.709, allocations: 2.234 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)