Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001162/0.001162, allocations: 189.2 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 278.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 88.16 kB / 0.5946 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2022, allocations: 86.98 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002826/0.205, allocations: 1.538 MB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2061, allocations: 450 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.2061, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.2063, allocations: 4.812 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.2064, allocations: 28.22 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.207, allocations: 224.5 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.2073, allocations: 305.3 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.2074, allocations: 8.266 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.2076, allocations: 218.3 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.2079, allocations: 131.5 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.2079, allocations: 12 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.208, allocations: 8 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2081, allocations: 83.66 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2083, allocations: 119.4 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.2086, allocations: 295 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2086, allocations: 4 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2086, allocations: 0 / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2086, allocations: 0 / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001043/0.2097, allocations: 0.7422 MB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2097, allocations: 8.031 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.2098, allocations: 38.55 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.2099, allocations: 35.62 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.2102, allocations: 258.3 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.2103, allocations: 19.98 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.2103, allocations: 12 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.2113, allocations: 213.3 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2113, allocations: 0 / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2114, allocations: 3.984 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2114, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.2121, allocations: 91.92 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.2126, allocations: 321.3 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2137, allocations: 170.5 kB / 0.6847 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008176/0.2145, allocations: 109.2 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.2146, allocations: 0 / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.2158, allocations: 225.2 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.2158, allocations: 4 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002594/0.2184, allocations: 445 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.2184, allocations: 63.39 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.2188, allocations: 287 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.2188, allocations: 37.7 kB / 0.6858 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.2189, allocations: 97.03 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.219, allocations: 31.56 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.2192, allocations: 101.5 kB / 0.686 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2193, allocations: 322.8 kB / 0.6863 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.2195, allocations: 95.83 kB / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2197, allocations: 135.1 kB / 0.6865 GB, free: 9.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.2201, allocations: 243.3 kB / 0.6868 GB, free: 9.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2201, allocations: 0 / 0.6868 GB, free: 9.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006599/0.2207, allocations: 401.7 kB / 0.6872 GB, free: 8.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.2208, allocations: 71.39 kB / 0.6872 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2209, allocations: 7.984 kB / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2209, allocations: 8.125 kB / 0.6872 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2211, allocations: 27.86 kB / 0.6873 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2211, allocations: 7.984 kB / 0.6873 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.2216, allocations: 51.81 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.2216, allocations: 43.98 kB / 0.6874 GB, free: 8.723 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002076/0.2219, allocations: 172.6 kB / 0.6875 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.2219, allocations: 27.66 kB / 0.6876 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.222, allocations: 26.3 kB / 0.6876 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.222, allocations: 4 kB / 0.6876 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.222, allocations: 3.984 kB / 0.6876 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.222, allocations: 0 / 0.6876 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.2242, allocations: 0.6998 MB / 0.6883 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2242, allocations: 0 / 0.6883 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.2242, allocations: 4 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2242, allocations: 0 / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.2243, allocations: 19.97 kB / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2243, allocations: 4 kB / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2243, allocations: 0 / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.226, allocations: 446.9 kB / 0.6887 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.2262, allocations: 156.7 kB / 0.6889 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.2262, allocations: 16 kB / 0.6889 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.2267, allocations: 35.89 kB / 0.6889 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2268, allocations: 11.98 kB / 0.6889 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.2268, allocations: 39.92 kB / 0.689 GB, free: 6.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.2271, allocations: 209.9 kB / 0.6892 GB, free: 6.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2271, allocations: 0 / 0.6892 GB, free: 6.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.2274, allocations: 48 kB / 0.6892 GB, free: 6.723 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002045/0.2295, allocations: 0.9977 MB / 0.6902 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.2306, allocations: 376.9 kB / 0.6906 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2306, allocations: 0 / 0.6906 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007304/0.2314, allocations: 120.2 kB / 0.6907 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2317, allocations: 32.56 kB / 0.6907 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.2352, allocations: 2.42 MB / 0.6931 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2355, allocations: 0.7395 MB / 0.6938 GB, free: 1.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.2355, allocations: 17.08 kB / 0.6938 GB, free: 1.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.2356, allocations: 27.42 kB / 0.6938 GB, free: 1.809 MB / 494.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2356, allocations: 3.938 kB / 0.6938 GB, free: 1.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.2642, allocations: 4.639 MB / 0.6984 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.2644, allocations: 217.8 kB / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.064, allocations: 0 / 0.6986 GB, free: 13.06 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)