Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 287.1 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9793/0.9793, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 99.17 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2107, allocations: 86.99 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003213/0.2139, allocations: 1.48 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.2149, allocations: 427.3 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.215, allocations: 3.938 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.713e-05/0.2152, allocations: 3.938 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2153, allocations: 30.23 kB / 0.6822 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.2161, allocations: 246.1 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.2166, allocations: 321.9 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.2166, allocations: 17.12 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.217, allocations: 195.7 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.2172, allocations: 108.8 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.2173, allocations: 20.62 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.2174, allocations: 20 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.2176, allocations: 85.05 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.2178, allocations: 119.4 kB / 0.6833 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.2183, allocations: 291.1 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.2183, allocations: 4.781 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2184, allocations: 3.938 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.2184, allocations: 4 kB / 0.6835 GB, free: 13.27 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.001282/0.2197, allocations: 0.7346 MB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2197, allocations: 8.031 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.2198, allocations: 42.73 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.2199, allocations: 36.56 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.2203, allocations: 263.5 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.2203, allocations: 24.11 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.2204, allocations: 12 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009726/0.2214, allocations: 201.5 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2214, allocations: 0 / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2214, allocations: 7.984 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2214, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.2223, allocations: 91.92 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2226, allocations: 321.4 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2236, allocations: 182.3 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.2244, allocations: 108.8 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2244, allocations: 0 / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.2254, allocations: 215.1 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.474e-06/0.2254, allocations: 0 / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002579/0.228, allocations: 459.4 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.2281, allocations: 63.38 kB / 0.6862 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.2284, allocations: 287 kB / 0.6865 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.2285, allocations: 41.64 kB / 0.6865 GB, free: 9.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.2286, allocations: 97.03 kB / 0.6866 GB, free: 9.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.2287, allocations: 31.56 kB / 0.6866 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.2288, allocations: 101.5 kB / 0.6867 GB, free: 9.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.229, allocations: 322.8 kB / 0.687 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2292, allocations: 91.83 kB / 0.6871 GB, free: 9.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2295, allocations: 134.6 kB / 0.6873 GB, free: 9.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.2299, allocations: 246.5 kB / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2299, allocations: 0 / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007405/0.2306, allocations: 394.5 kB / 0.6879 GB, free: 8.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.2308, allocations: 75.39 kB / 0.6879 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2308, allocations: 8.188 kB / 0.688 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2308, allocations: 0 / 0.688 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.231, allocations: 23.92 kB / 0.688 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.231, allocations: 7.984 kB / 0.688 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.2316, allocations: 51.81 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.2316, allocations: 47.92 kB / 0.6881 GB, free: 8.285 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.0002252/0.2319, allocations: 176.6 kB / 0.6883 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.2319, allocations: 23.72 kB / 0.6883 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.232, allocations: 26.3 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.232, allocations: 4 kB / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.232, allocations: 0 / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.232, allocations: 0 / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.2343, allocations: 0.6933 MB / 0.689 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2343, allocations: 0 / 0.689 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.2343, allocations: 4 kB / 0.689 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2343, allocations: 0 / 0.689 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.2344, allocations: 23.97 kB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2344, allocations: 0 / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2344, allocations: 4 kB / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.2362, allocations: 448.5 kB / 0.6894 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.2364, allocations: 152.7 kB / 0.6896 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/0.2365, allocations: 20 kB / 0.6896 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.237, allocations: 31.95 kB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.237, allocations: 15.92 kB / 0.6896 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.163e-05/0.2371, allocations: 39.98 kB / 0.6897 GB, free: 6.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.2373, allocations: 209.9 kB / 0.6899 GB, free: 6.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2373, allocations: 0 / 0.6899 GB, free: 6.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.2377, allocations: 48 kB / 0.6899 GB, free: 6.289 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.002141/0.2399, allocations: 1.002 MB / 0.6909 GB, free: 5.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.2411, allocations: 379.8 kB / 0.6913 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2412, allocations: 0 / 0.6913 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.242, allocations: 124.2 kB / 0.6914 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2423, allocations: 41.39 kB / 0.6914 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.2465, allocations: 2.345 MB / 0.6937 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.2469, allocations: 0.7466 MB / 0.6944 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.2469, allocations: 17.08 kB / 0.6945 GB, free: 1.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.247, allocations: 27.42 kB / 0.6945 GB, free: 1.422 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.247, allocations: 0 / 0.6945 GB, free: 1.422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.2726, allocations: 4.8 MB / 0.6992 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.256, allocations: 7.375 kB / 0.6992 GB, free: 12.77 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)