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.007129/0.00713, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001904/0.001904, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 283 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 95.84 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2191, allocations: 86.97 MB / 0.7659 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003157/0.2223, allocations: 1.495 MB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2235, allocations: 427.3 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.2236, allocations: 0 / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.2237, allocations: 11.88 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.2239, allocations: 20.23 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.2248, allocations: 258.9 kB / 0.768 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.2252, allocations: 323.5 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.415e-05/0.2253, allocations: 7.984 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003653/0.2257, allocations: 203.6 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.226, allocations: 116.1 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.2261, allocations: 23.94 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.2261, allocations: 20 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2263, allocations: 75.78 kB / 0.7688 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2264, allocations: 127.4 kB / 0.7689 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.2268, allocations: 291.2 kB / 0.7692 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2269, allocations: 0 / 0.7692 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2269, allocations: 0 / 0.7692 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2269, allocations: 0 / 0.7692 GB, free: 5.609 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.001304/0.2282, allocations: 0.754 MB / 0.7699 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2282, allocations: 12.03 kB / 0.7699 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.2283, allocations: 38.69 kB / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.2284, allocations: 36.78 kB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.2288, allocations: 259.8 kB / 0.7702 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.2288, allocations: 20.11 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.2289, allocations: 20 kB / 0.7703 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.2298, allocations: 197.5 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2299, allocations: 0 / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2299, allocations: 3.984 kB / 0.7704 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2299, allocations: 7.984 kB / 0.7705 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.2306, allocations: 99.86 kB / 0.7706 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.231, allocations: 317.4 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.232, allocations: 170.4 kB / 0.771 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.2328, allocations: 108.8 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2328, allocations: 11.94 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.2338, allocations: 213 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 4.158e-06/0.2338, allocations: 4 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002434/0.2363, allocations: 445.1 kB / 0.7718 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.2364, allocations: 71.38 kB / 0.7718 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2368, allocations: 287 kB / 0.7721 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.2368, allocations: 37.7 kB / 0.7721 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.2369, allocations: 93.64 kB / 0.7722 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.237, allocations: 31.77 kB / 0.7723 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2372, allocations: 97.58 kB / 0.7724 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2373, allocations: 322.8 kB / 0.7727 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2375, allocations: 83.94 kB / 0.7727 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2378, allocations: 145.8 kB / 0.7729 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.2382, allocations: 243.8 kB / 0.7731 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.2382, allocations: 4 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007502/0.2389, allocations: 392.6 kB / 0.7735 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.566e-05/0.239, allocations: 77.41 kB / 0.7736 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2391, allocations: 4 kB / 0.7736 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2391, allocations: 4.188 kB / 0.7736 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2393, allocations: 19.98 kB / 0.7736 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.2393, allocations: 7.938 kB / 0.7736 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.2397, allocations: 55.84 kB / 0.7737 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.2398, allocations: 39.98 kB / 0.7737 GB, free: 0.6133 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.0002421/0.2401, allocations: 180.1 kB / 0.7739 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.2401, allocations: 27.84 kB / 0.7739 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.2402, allocations: 26.3 kB / 0.7739 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.2402, allocations: 4 kB / 0.7739 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2402, allocations: 7.938 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2402, allocations: 0 / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3764/0.6166, allocations: 0.6837 MB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6167, allocations: 1 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.6167, allocations: 6.672 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.6168, allocations: 1.453 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.6168, allocations: 18.84 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6168, allocations: 1.406 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6168, allocations: 1.375 kB / 0.7746 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.6185, allocations: 452.7 kB / 0.7751 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.6188, allocations: 164 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.6188, allocations: 10.75 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.6193, allocations: 29.09 kB / 0.7752 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.6194, allocations: 15.53 kB / 0.7753 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.6194, allocations: 40.92 kB / 0.7753 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002353/0.6197, allocations: 212.2 kB / 0.7755 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6197, allocations: 0.5312 kB / 0.7755 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003793/0.6201, allocations: 47.28 kB / 0.7756 GB, free: 14.44 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.001883/0.622, allocations: 0.9952 MB / 0.7765 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.6234, allocations: 379.4 kB / 0.7769 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.6234, allocations: 0 / 0.7769 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.6241, allocations: 117.6 kB / 0.777 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.6245, allocations: 29.2 kB / 0.777 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.6278, allocations: 2.36 MB / 0.7793 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6281, allocations: 0.7402 MB / 0.7801 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.276e-05/0.6281, allocations: 15.69 kB / 0.7801 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.6282, allocations: 25.25 kB / 0.7801 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.6282, allocations: 0.8438 kB / 0.7801 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.6592, allocations: 4.826 MB / 0.7848 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.687, allocations: 11.34 kB / 0.7848 GB, free: 10.99 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)