Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001664/0.001664, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002663/0.002663, allocations: 219.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 33.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003335/0.003335, allocations: 67.7 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4173, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002793/0.4201, allocations: 1.548 MB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4214, allocations: 0.5462 MB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.4215, allocations: 0 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.4216, allocations: 11.86 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.4217, allocations: 31.84 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.4225, allocations: 315.7 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.423, allocations: 495.4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.4231, allocations: 4 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.4235, allocations: 275.7 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.4238, allocations: 164.6 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.4239, allocations: 28 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.4239, allocations: 28 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.4241, allocations: 111.7 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.4243, allocations: 195 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.4247, allocations: 426.6 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4247, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4247, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4247, allocations: 0 / 1.331 GB, free: 13.82 MB / 1.029 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.001288/0.426, allocations: 0.7989 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4261, allocations: 8.031 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.634e-05/0.4261, allocations: 4.188 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.4261, allocations: 42.73 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4262, allocations: 52.7 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.4266, allocations: 256.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.4267, allocations: 16.36 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.4267, allocations: 36.25 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.4277, allocations: 213.7 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4277, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.4278, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4278, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.4285, allocations: 99.92 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.429, allocations: 352.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.43, allocations: 174.4 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.4307, allocations: 100.8 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4307, allocations: 3.984 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009808/0.4317, allocations: 227.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.4317, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002531/0.4343, allocations: 491 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4343, allocations: 59.39 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.4348, allocations: 413.9 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.4348, allocations: 41.69 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.4349, allocations: 97.45 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.435, allocations: 39.69 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.4352, allocations: 125.5 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4354, allocations: 318.8 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4356, allocations: 115.9 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.4359, allocations: 185.8 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.4363, allocations: 274.6 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4363, allocations: 4 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000876/0.4372, allocations: 494.2 kB / 1.336 GB, free: 8.562 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/0.4373, allocations: 93.09 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4373, allocations: 0 / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4373, allocations: 4 kB / 1.336 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4375, allocations: 19.92 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4375, allocations: 4 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.438, allocations: 60.03 kB / 1.336 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.438, allocations: 71.97 kB / 1.336 GB, free: 8.305 MB / 1.029 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.0002366/0.4383, allocations: 192.2 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.4383, allocations: 43.66 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.803e-05/0.4384, allocations: 47.67 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4384, allocations: 0 / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4384, allocations: 4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4384, allocations: 0 / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.4407, allocations: 0.7122 MB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4407, allocations: 0 / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.4407, allocations: 12 kB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4407, allocations: 0 / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.4408, allocations: 23.91 kB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4408, allocations: 3.938 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4408, allocations: 0 / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.4425, allocations: 490.2 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.4428, allocations: 133.6 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.4428, allocations: 8 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.4433, allocations: 27.97 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4434, allocations: 11.98 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.4434, allocations: 63.97 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003121/0.4438, allocations: 291.1 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4438, allocations: 0 / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003697/0.4441, allocations: 67.98 kB / 1.338 GB, free: 6.125 MB / 1.029 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.002123/0.4462, allocations: 1.024 MB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.4476, allocations: 410.7 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4476, allocations: 3.938 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/0.4483, allocations: 110.8 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.4487, allocations: 25.64 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.4531, allocations: 2.79 MB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.4535, allocations: 0.7747 MB / 1.343 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.056e-05/0.4535, allocations: 5.094 kB / 1.343 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.4536, allocations: 31.42 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.4536, allocations: 0 / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.483, allocations: 6.359 MB / 1.349 GB, free: 10.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.25, allocations: 17.53 kB / 1.349 GB, free: 10.43 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.420548082969617] Failed to read output from testmodel.py, exit status != 0: 12.42198649601778 12.441412201 12.013621538 Calling exit ...