Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001373/0.001373, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001671/0.001671, allocations: 217 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.528/1.528, 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.213/3.213, allocations: 0.49 GB / 0.7959 GB, free: 33.44 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.002006/0.002006, allocations: 70.86 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4088, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00425/0.413, allocations: 1.765 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.4149, allocations: 0.6324 MB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.4151, allocations: 0 / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.4153, allocations: 11.86 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.4155, allocations: 39.78 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.4167, allocations: 367.1 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.4176, allocations: 0.597 MB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4177, allocations: 21.53 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006768/0.4184, allocations: 331.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.4189, allocations: 167.3 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.419, allocations: 40 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.4192, allocations: 40 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.4193, allocations: 131.6 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.4196, allocations: 218.9 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.4203, allocations: 0.5957 MB / 1.332 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4203, allocations: 0 / 1.332 GB, free: 13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4203, allocations: 0 / 1.332 GB, free: 13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4203, allocations: 4 kB / 1.332 GB, free: 12.99 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001475/0.4218, allocations: 0.8456 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4219, allocations: 12.03 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.499e-05/0.4219, allocations: 192 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.4219, allocations: 38.75 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.4221, allocations: 60.64 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4225, allocations: 284.6 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.4226, allocations: 24.38 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.4227, allocations: 28.36 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4237, allocations: 239.1 kB / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4237, allocations: 0 / 1.333 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.4238, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4238, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.4246, allocations: 123.8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.4261, allocations: 0.6322 MB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4272, allocations: 178.4 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.4279, allocations: 108.8 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.428, allocations: 7.938 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.4291, allocations: 227.2 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.4291, allocations: 0 / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00278/0.4319, allocations: 0.4956 MB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.4319, allocations: 55.41 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.4325, allocations: 445.9 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4326, allocations: 41.69 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4328, allocations: 113.3 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.4329, allocations: 31.73 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.4331, allocations: 145.4 kB / 1.336 GB, free: 8.672 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4333, allocations: 326.8 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4336, allocations: 139.9 kB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003534/0.434, allocations: 189.9 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.4344, allocations: 298.4 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4344, allocations: 3.938 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009753/0.4354, allocations: 0.5219 MB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4355, allocations: 99.38 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4355, allocations: 0 / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.4356, allocations: 4 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4357, allocations: 23.91 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4357, allocations: 4 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.4363, allocations: 67.97 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/0.4364, allocations: 55.98 kB / 1.337 GB, free: 6.871 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003244/0.4367, allocations: 220.3 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.4368, allocations: 39.72 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.4368, allocations: 39.73 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4368, allocations: 4 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4368, allocations: 0 / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.4369, allocations: 11.92 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.4392, allocations: 0.7513 MB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4392, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.4393, allocations: 11.98 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.4393, allocations: 4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4393, allocations: 23.92 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4393, allocations: 0 / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4393, allocations: 3.938 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4412, allocations: 482 kB / 1.339 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.4416, allocations: 177.5 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4417, allocations: 27.86 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.4422, allocations: 31.97 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4423, allocations: 11.98 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/0.4424, allocations: 55.97 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004108/0.4428, allocations: 323.1 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4428, allocations: 0 / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004654/0.4432, allocations: 71.92 kB / 1.339 GB, free: 4.535 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002341/0.4456, allocations: 1.045 MB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.4471, allocations: 441.9 kB / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4471, allocations: 0 / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.4479, allocations: 111.9 kB / 1.341 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.4484, allocations: 40.66 kB / 1.341 GB, free: 2.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.4539, allocations: 3.02 MB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.4544, allocations: 0.7901 MB / 1.345 GB, free: 14.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.081e-05/0.4545, allocations: 17.42 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.4546, allocations: 23.44 kB / 1.345 GB, free: 14.85 MB / 1.045 GB Notification: Performance of SimCode: time 1.162e-06/0.4546, allocations: 4 kB / 1.345 GB, free: 14.85 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.4893, allocations: 6.961 MB / 1.352 GB, free: 7.945 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.88, allocations: 3.281 kB / 1.352 GB, free: 7.945 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.87624577997485] Failed to read output from testmodel.py, exit status != 0: 12.044457698008046 12.068494617 11.643667039 Calling exit ...