Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001467/0.001467, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001447/0.001447, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.995/2.995, allocations: 0.5003 GB / 0.8026 GB, free: 6.898 MB / 0.6387 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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.002977/0.002977, allocations: 71.89 kB / 1.165 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9624/0.9654, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002412/0.9678, allocations: 1.537 MB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.969, allocations: 0.5511 MB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.9691, allocations: 0 / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.9692, allocations: 10.83 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.9693, allocations: 34.69 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.9701, allocations: 311 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000562/0.9707, allocations: 476.3 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.9707, allocations: 12.97 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004792/0.9712, allocations: 283.4 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.9716, allocations: 149.1 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.9717, allocations: 25.56 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.9718, allocations: 26.19 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.9721, allocations: 111.3 kB / 1.344 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.9724, allocations: 185 kB / 1.344 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.9732, allocations: 431.9 kB / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.9732, allocations: 0 / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9732, allocations: 0 / 1.344 GB, free: 14.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.9733, allocations: 4 kB / 1.344 GB, free: 14.04 MB / 1.061 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.001642/0.9749, allocations: 0.8775 MB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.307e-05/0.975, allocations: 10.14 kB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.496e-05/0.975, allocations: 1.562 kB / 1.345 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.9751, allocations: 43.64 kB / 1.345 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.9752, allocations: 51.75 kB / 1.345 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.9757, allocations: 309.1 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/0.9758, allocations: 16.91 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.9759, allocations: 33.52 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.977, allocations: 212.5 kB / 1.346 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.977, allocations: 4.641 kB / 1.346 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.977, allocations: 1.953 kB / 1.346 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.9771, allocations: 1.344 kB / 1.346 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.9779, allocations: 104.2 kB / 1.346 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.9784, allocations: 391 kB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.9795, allocations: 161 kB / 1.346 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.9803, allocations: 108 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.9803, allocations: 1.641 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.9814, allocations: 225.3 kB / 1.347 GB, free: 12.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.9814, allocations: 0 / 1.347 GB, free: 12.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002773/0.9842, allocations: 488.9 kB / 1.347 GB, free: 12.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.9842, allocations: 62.08 kB / 1.347 GB, free: 12.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.9847, allocations: 410.7 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.9847, allocations: 44.25 kB / 1.348 GB, free: 12.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.9848, allocations: 91.67 kB / 1.348 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.9848, allocations: 40.61 kB / 1.348 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.9851, allocations: 128 kB / 1.348 GB, free: 11.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.9852, allocations: 325.2 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.9854, allocations: 124.8 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.9857, allocations: 173.3 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.9861, allocations: 282.1 kB / 1.349 GB, free: 11.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9861, allocations: 0 / 1.349 GB, free: 11.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008384/0.9869, allocations: 0.4886 MB / 1.349 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/0.987, allocations: 88.92 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.987, allocations: 1.938 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.987, allocations: 2.25 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.9872, allocations: 23.88 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9872, allocations: 8.109 kB / 1.349 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.9878, allocations: 53.61 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.9878, allocations: 57.89 kB / 1.349 GB, free: 10.89 MB / 1.061 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.0002141/0.9881, allocations: 203.5 kB / 1.35 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.9881, allocations: 44.91 kB / 1.35 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.743e-05/0.9882, allocations: 38.19 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9882, allocations: 1.875 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.9882, allocations: 1 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9882, allocations: 4.734 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.9905, allocations: 0.7435 MB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9905, allocations: 1.906 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.9906, allocations: 4.078 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.9906, allocations: 5.781 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.9906, allocations: 22.39 kB / 1.35 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.9906, allocations: 5.156 kB / 1.35 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9906, allocations: 0.75 kB / 1.35 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.9926, allocations: 478.5 kB / 1.351 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.9929, allocations: 204 kB / 1.351 GB, free: 9.934 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.993, allocations: 14.94 kB / 1.351 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.9936, allocations: 28.8 kB / 1.351 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.9936, allocations: 6.938 kB / 1.351 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.9937, allocations: 60.09 kB / 1.351 GB, free: 9.922 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000379/0.9941, allocations: 294.3 kB / 1.351 GB, free: 9.785 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9941, allocations: 1.156 kB / 1.351 GB, free: 9.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005399/0.9946, allocations: 68.89 kB / 1.351 GB, free: 9.777 MB / 1.061 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.002192/0.9968, allocations: 1.015 MB / 1.352 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.9984, allocations: 407.6 kB / 1.353 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.9984, allocations: 1.219 kB / 1.353 GB, free: 8.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/0.9993, allocations: 116.3 kB / 1.353 GB, free: 8.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.9997, allocations: 27.2 kB / 1.353 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/1.004, allocations: 2.801 MB / 1.356 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.004, allocations: 0.7711 MB / 1.356 GB, free: 6.246 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.397e-05/1.004, allocations: 11.09 kB / 1.356 GB, free: 6.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/1.005, allocations: 25.16 kB / 1.357 GB, free: 6.23 MB / 1.061 GB Notification: Performance of SimCode: time 1.122e-06/1.005, allocations: 1.156 kB / 1.357 GB, free: 6.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/1.033, allocations: 6.19 MB / 1.363 GB, free: 5.039 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.928/9.961, allocations: 13.77 kB / 1.363 GB, free: 5.031 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.445844324014615] Failed to read output from testmodel.py, exit status != 0: 10.09016853600042 10.103609945 9.127163461 Calling exit ...