Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.062/1.062, allocations: 230.6 MB / 256.8 MB, free: 9.566 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.099/2.099, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009626/0.0009626, allocations: 71.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.838, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002579/0.8405, allocations: 1.521 MB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.8418, allocations: 0.5342 MB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.8419, allocations: 4 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.842, allocations: 11.86 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.8421, allocations: 23.86 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.8429, allocations: 311.4 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.8434, allocations: 495.4 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.8434, allocations: 4 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.8437, allocations: 271.7 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.844, allocations: 139.6 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.697e-05/0.844, allocations: 28 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.405e-05/0.8441, allocations: 28 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.8442, allocations: 119.6 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.8444, allocations: 151.3 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.8448, allocations: 436.6 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8448, allocations: 8 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8448, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8448, allocations: 0 / 1.356 GB, free: 13.62 MB / 1.042 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.0009732/0.8458, allocations: 0.795 MB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.8458, allocations: 8.922 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.8458, allocations: 42.69 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.8459, allocations: 48.7 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.8462, allocations: 256.8 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.8462, allocations: 16.36 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.8463, allocations: 28.36 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.8468, allocations: 214.6 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.8468, allocations: 7.938 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.8468, allocations: 0 / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8468, allocations: 0 / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.8471, allocations: 109.3 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.8474, allocations: 296.6 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.8479, allocations: 166.4 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.8482, allocations: 104.8 kB / 1.358 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.8482, allocations: 4 kB / 1.358 GB, free: 11.4 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.8487, allocations: 227 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.8487, allocations: 7.984 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.001177/0.8499, allocations: 488 kB / 1.359 GB, free: 10.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.8499, allocations: 67.39 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.8502, allocations: 405.9 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.8502, allocations: 41.69 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.8503, allocations: 105.3 kB / 1.36 GB, free: 10.03 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.8503, allocations: 35.8 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.8504, allocations: 133.4 kB / 1.36 GB, free: 9.859 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.8505, allocations: 322.8 kB / 1.36 GB, free: 9.535 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.8507, allocations: 187.3 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.8509, allocations: 245.8 kB / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.8512, allocations: 267.2 kB / 1.361 GB, free: 8.773 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8512, allocations: 7.938 kB / 1.361 GB, free: 8.766 MB / 1.042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005333/0.8517, allocations: 0.5523 MB / 1.361 GB, free: 8.184 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.8518, allocations: 83.31 kB / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.8518, allocations: 0 / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8518, allocations: 4 kB / 1.361 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.8519, allocations: 27.91 kB / 1.361 GB, free: 8.059 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8519, allocations: 192 / 1.361 GB, free: 8.059 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.8521, allocations: 63.84 kB / 1.362 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.8522, allocations: 59.98 kB / 1.362 GB, free: 7.938 MB / 1.042 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.0001515/0.8523, allocations: 192.2 kB / 1.362 GB, free: 7.742 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.8524, allocations: 43.69 kB / 1.362 GB, free: 7.699 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.8524, allocations: 39.69 kB / 1.362 GB, free: 7.664 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8524, allocations: 4 kB / 1.362 GB, free: 7.66 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.8524, allocations: 0 / 1.362 GB, free: 7.66 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8524, allocations: 4 kB / 1.362 GB, free: 7.656 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.8536, allocations: 0.7083 MB / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8536, allocations: 0 / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.8536, allocations: 8 kB / 1.363 GB, free: 6.887 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8536, allocations: 3.984 kB / 1.363 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.8536, allocations: 23.98 kB / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.8536, allocations: 0 / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.8536, allocations: 0 / 1.363 GB, free: 6.859 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.8545, allocations: 483.5 kB / 1.363 GB, free: 6.371 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.8547, allocations: 133.5 kB / 1.363 GB, free: 6.242 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.8547, allocations: 12 kB / 1.363 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.8549, allocations: 27.97 kB / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.8549, allocations: 15.91 kB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.855, allocations: 63.92 kB / 1.363 GB, free: 6.125 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.00019/0.8552, allocations: 295.1 kB / 1.364 GB, free: 5.84 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8552, allocations: 0 / 1.364 GB, free: 5.84 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002239/0.8554, allocations: 63.98 kB / 1.364 GB, free: 5.777 MB / 1.042 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.001029/0.8564, allocations: 1.034 MB / 1.365 GB, free: 4.715 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.8571, allocations: 473.9 kB / 1.365 GB, free: 4.215 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8571, allocations: 3.938 kB / 1.365 GB, free: 4.211 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.8574, allocations: 111.8 kB / 1.365 GB, free: 4.102 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.8577, allocations: 28.27 kB / 1.365 GB, free: 4.074 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.8605, allocations: 3.09 MB / 1.368 GB, free: 0.8086 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.8606, allocations: 166.8 kB / 1.368 GB, free: 0.625 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.8606, allocations: 21.06 kB / 1.368 GB, free: 0.6055 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.8607, allocations: 23.42 kB / 1.368 GB, free: 0.582 MB / 1.042 GB Notification: Performance of SimCode: time 6.21e-07/0.8607, allocations: 0 / 1.368 GB, free: 0.582 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08072/0.9414, allocations: 7.966 MB / 1.376 GB, free: 8.688 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/8.265, allocations: 4 kB / 1.376 GB, free: 8.684 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu) > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 ../Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu) > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.451356256380677]