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.005657/0.005657, allocations: 95.97 kB / 15.73 MB, free: 6.062 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.001421/0.001421, allocations: 197.6 kB / 16.68 MB, free: 5.984 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 277.3 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004308/0.004308, allocations: 99.83 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2099, allocations: 86.97 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002864/0.2128, allocations: 1.487 MB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.2139, allocations: 429.7 kB / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.2139, allocations: 0 / 0.7677 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2141, allocations: 3.938 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2142, allocations: 28.16 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.2149, allocations: 253 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.2154, allocations: 323.5 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.2154, allocations: 7.984 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.2157, allocations: 203.6 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.216, allocations: 120 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.216, allocations: 20 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.2161, allocations: 24 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2162, allocations: 79.77 kB / 0.7688 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2164, allocations: 123.4 kB / 0.7689 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.2168, allocations: 295.1 kB / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2168, allocations: 0 / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2168, allocations: 0 / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.2168, allocations: 0 / 0.7692 GB, free: 5.602 MB / 0.5606 GB 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.001217/0.218, allocations: 0.7461 MB / 0.7699 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2181, allocations: 19.97 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.2181, allocations: 38.73 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.988e-05/0.2182, allocations: 32.8 kB / 0.77 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2186, allocations: 271.8 kB / 0.7702 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.2186, allocations: 12.12 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.2187, allocations: 19.98 kB / 0.7703 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.2197, allocations: 197.5 kB / 0.7705 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2197, allocations: 4 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2197, allocations: 0 / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2197, allocations: 4 kB / 0.7705 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.2205, allocations: 99.91 kB / 0.7706 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.2209, allocations: 313.3 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2219, allocations: 182.3 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.2227, allocations: 108.8 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.2227, allocations: 4 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009962/0.2237, allocations: 211.1 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.2238, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002444/0.2262, allocations: 459.2 kB / 0.7718 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2263, allocations: 59.41 kB / 0.7718 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.2266, allocations: 287 kB / 0.7721 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.2267, allocations: 45.69 kB / 0.7721 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.2267, allocations: 93.64 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.2268, allocations: 39.75 kB / 0.7723 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2269, allocations: 93.58 kB / 0.7724 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2271, allocations: 322.8 kB / 0.7727 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2273, allocations: 79.95 kB / 0.7727 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2275, allocations: 141.9 kB / 0.7729 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.2279, allocations: 243.6 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2279, allocations: 0 / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006767/0.2286, allocations: 392.7 kB / 0.7735 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.2287, allocations: 71.39 kB / 0.7736 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2287, allocations: 0 / 0.7736 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2287, allocations: 4 kB / 0.7736 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2289, allocations: 35.84 kB / 0.7736 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2289, allocations: 0 / 0.7736 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.2294, allocations: 56.09 kB / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.2295, allocations: 36 kB / 0.7737 GB, free: 0.6172 MB / 0.5606 GB 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.0002129/0.2297, allocations: 184 kB / 0.7739 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.2297, allocations: 23.86 kB / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.2298, allocations: 30.3 kB / 0.7739 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2298, allocations: 8 kB / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2298, allocations: 0 / 0.7739 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2298, allocations: 3.938 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3045/0.5343, allocations: 0.6862 MB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5344, allocations: 1.281 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.5344, allocations: 5 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5344, allocations: 0.8438 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.5345, allocations: 20.48 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5345, allocations: 0.5938 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5345, allocations: 3.75 kB / 0.7746 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.5362, allocations: 445.4 kB / 0.775 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.5363, allocations: 163.1 kB / 0.7752 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.5364, allocations: 14 kB / 0.7752 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.5369, allocations: 32.77 kB / 0.7752 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.5369, allocations: 7.969 kB / 0.7753 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.537, allocations: 43.83 kB / 0.7753 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001764/0.5372, allocations: 214.3 kB / 0.7755 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5372, allocations: 3.562 kB / 0.7755 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004487/0.5376, allocations: 50.3 kB / 0.7756 GB, free: 14.55 MB / 0.5606 GB 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.001787/0.5394, allocations: 0.9933 MB / 0.7765 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.5405, allocations: 376.3 kB / 0.7769 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5405, allocations: 0.7188 kB / 0.7769 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.5412, allocations: 117.2 kB / 0.777 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.5416, allocations: 25.38 kB / 0.777 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.5445, allocations: 2.365 MB / 0.7793 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.5447, allocations: 0.7361 MB / 0.78 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.5448, allocations: 15.47 kB / 0.7801 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.5448, allocations: 24.58 kB / 0.7801 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5448, allocations: 0 / 0.7801 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2213/0.7661, allocations: 4.826 MB / 0.7848 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/9.083, allocations: 10.94 kB / 0.7848 GB, free: 11.09 MB / 0.5606 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)