Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001704/0.001704, allocations: 101.5 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.002321/0.002321, 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001957/0.001957, allocations: 77.75 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.406, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003804/0.4098, allocations: 1.773 MB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.4116, allocations: 0.6378 MB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.4117, allocations: 0 / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.4118, allocations: 7.875 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.412, allocations: 35.78 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4131, allocations: 370.5 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007723/0.4139, allocations: 0.597 MB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.4141, allocations: 25.52 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.4145, allocations: 315.5 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.4149, allocations: 171.6 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.93e-05/0.415, allocations: 43.94 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.4151, allocations: 43.94 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.4152, allocations: 123.6 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.4155, allocations: 219 kB / 1.35 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.4162, allocations: 0.5918 MB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4162, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 5.049e-06/0.4162, allocations: 4 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.4162, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 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.001502/0.4177, allocations: 0.8456 MB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4177, allocations: 8.031 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.962e-05/0.4177, allocations: 4.188 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.452e-05/0.4178, allocations: 42.73 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4179, allocations: 56.66 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.4184, allocations: 276.6 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.4184, allocations: 20.36 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4185, allocations: 36.38 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.4196, allocations: 243.2 kB / 1.352 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4196, allocations: 0 / 1.352 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.4196, allocations: 3.984 kB / 1.352 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4196, allocations: 4 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.4204, allocations: 115.9 kB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.4219, allocations: 0.6399 MB / 1.352 GB, free: 9.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4229, allocations: 178.4 kB / 1.353 GB, free: 8.859 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.4237, allocations: 108.8 kB / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4237, allocations: 0 / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.4247, allocations: 231.2 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4247, allocations: 3.938 kB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002668/0.4274, allocations: 499.7 kB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.4275, allocations: 71.31 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.428, allocations: 441.9 kB / 1.354 GB, free: 7.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/0.4281, allocations: 37.7 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4282, allocations: 101.4 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.4283, allocations: 47.69 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.4285, allocations: 137.5 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4287, allocations: 326.8 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.429, allocations: 131.9 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.4294, allocations: 201.8 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.4298, allocations: 298.8 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4298, allocations: 0 / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009419/0.4307, allocations: 0.5253 MB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.4308, allocations: 99.31 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4309, allocations: 4 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4309, allocations: 3.938 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.431, allocations: 23.92 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4311, allocations: 4 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.4316, allocations: 67.92 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/0.4316, allocations: 59.97 kB / 1.356 GB, free: 5.348 MB / 1.045 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.0003036/0.432, allocations: 216.3 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.432, allocations: 39.77 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.4321, allocations: 43.72 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4321, allocations: 4 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4321, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4321, allocations: 3.938 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.4344, allocations: 0.7591 MB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4344, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.4345, allocations: 4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4345, allocations: 4 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.4345, allocations: 27.91 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4345, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4345, allocations: 4 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4364, allocations: 490.3 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.4369, allocations: 181.5 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.437, allocations: 15.94 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/0.4374, allocations: 27.97 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.4375, allocations: 7.984 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.4376, allocations: 59.97 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004351/0.438, allocations: 323.1 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.438, allocations: 0 / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005259/0.4385, allocations: 71.92 kB / 1.358 GB, free: 3.02 MB / 1.045 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.002365/0.4409, allocations: 1.041 MB / 1.359 GB, free: 1.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.4425, allocations: 440.3 kB / 1.359 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4425, allocations: 4.062 kB / 1.359 GB, free: 1.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007958/0.4433, allocations: 115.8 kB / 1.36 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.4439, allocations: 35.14 kB / 1.36 GB, free: 1.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.4491, allocations: 3.028 MB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4496, allocations: 0.7863 MB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.184e-05/0.4496, allocations: 13.42 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.4497, allocations: 35.42 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of SimCode: time 1.502e-06/0.4497, allocations: 0 / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.4814, allocations: 6.942 MB / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 21.22 kB / 1.37 GB, free: 6.418 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.11389378400054] Failed to read output from testmodel.py, exit status != 0: 12.087321753031574 12.111318804 11.690752697 Calling exit ...