Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.37/1.37, allocations: 251.5 MB / 266.7 MB, free: 10.98 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.0009266/0.0009266, allocations: 170.7 kB / 325.8 MB, free: 2.676 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.503/1.503, allocations: 205 MB / 0.576 GB, free: 21.02 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.000657/0.000657, allocations: 91.92 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 12.09 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1763, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001343/0.1777, allocations: 1.243 MB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1787, allocations: 0.8039 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1787, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.1788, allocations: 3.938 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.1788, allocations: 11.92 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1792, allocations: 103.8 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.1793, allocations: 91.69 kB / 0.8984 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.014e-05/0.1794, allocations: 16 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.1794, allocations: 35.91 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.1795, allocations: 39.83 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1795, allocations: 4 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1797, allocations: 91.84 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1797, allocations: 15.92 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.1797, allocations: 39.78 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1799, allocations: 147.6 kB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1799, allocations: 0 / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1799, allocations: 4 kB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1799, allocations: 0 / 0.8988 GB, free: 65.4 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.000399/0.1803, allocations: 442.7 kB / 0.8992 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1804, allocations: 8.031 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1804, allocations: 30.75 kB / 0.8992 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1804, allocations: 20.83 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.1805, allocations: 182.5 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1805, allocations: 12.38 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1805, allocations: 8.375 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1807, allocations: 93.69 kB / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1807, allocations: 0 / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1808, allocations: 0 / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1808, allocations: 0 / 0.8995 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1809, allocations: 59.91 kB / 0.8996 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1814, allocations: 316.8 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1815, allocations: 70.53 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.1816, allocations: 56.86 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1816, allocations: 3.984 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1818, allocations: 95.36 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1818, allocations: 0 / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003845/0.1822, allocations: 201.5 kB / 0.9003 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.1822, allocations: 55.41 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.1823, allocations: 125.7 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1823, allocations: 29.7 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.1823, allocations: 92.38 kB / 0.9006 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1824, allocations: 23.73 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.1824, allocations: 21.72 kB / 0.9006 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.1824, allocations: 326.8 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.1825, allocations: 27.98 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.1826, allocations: 83.19 kB / 0.9011 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1827, allocations: 113.9 kB / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1827, allocations: 0 / 0.9012 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001985/0.1829, allocations: 141.3 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.183, allocations: 12.36 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.183, allocations: 4.156 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.183, allocations: 4 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.1831, allocations: 12 kB / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1831, allocations: 11.92 kB / 0.9013 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.1831, allocations: 11.94 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1832, allocations: 4 kB / 0.9014 GB, free: 62.47 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.067e-05/0.1832, allocations: 133 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.1833, allocations: 11.91 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.1833, allocations: 20.3 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1833, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1833, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1833, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.1837, allocations: 438.4 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1837, allocations: 4 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.1837, allocations: 4 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1837, allocations: 4 kB / 0.9019 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1838, allocations: 3.984 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1838, allocations: 0 / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1838, allocations: 7.875 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.184, allocations: 251.5 kB / 0.9022 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.1841, allocations: 88.95 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1841, allocations: 3.938 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.1842, allocations: 11.98 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1842, allocations: 7.938 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1842, allocations: 11.98 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.1843, allocations: 93.64 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 4 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002495/0.1845, allocations: 40 kB / 0.9024 GB, free: 61.26 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.0006127/0.1852, allocations: 0.8518 MB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1854, allocations: 103.8 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1854, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.1855, allocations: 48.3 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1857, allocations: 15.92 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1869, allocations: 1.62 MB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.187, allocations: 0.6965 MB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.187, allocations: 7.984 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.1871, allocations: 19.44 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1871, allocations: 0 / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.378/0.5651, allocations: 2.665 MB / 0.9083 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.5654, allocations: 289 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/2.701, allocations: 0 / 0.9086 GB, free: 54.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)