Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001822/0.001822, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002494/0.002494, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.998/2.998, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_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.002175/0.002175, allocations: 66.09 kB / 1.15 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002458/1.067, allocations: 1.761 MB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001206/1.069, allocations: 0.6292 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.491e-05/1.069, allocations: 3.938 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/1.069, allocations: 11.3 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/1.069, allocations: 36.55 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007575/1.07, allocations: 360.8 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004436/1.07, allocations: 0.5947 MB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/1.07, allocations: 21.64 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/1.07, allocations: 319.3 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/1.071, allocations: 163.6 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.66e-05/1.071, allocations: 41.88 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/1.071, allocations: 42 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/1.071, allocations: 124.4 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/1.071, allocations: 219 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004317/1.072, allocations: 0.5968 MB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.072, allocations: 0 / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.485e-06/1.072, allocations: 3.047 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.426e-05/1.072, allocations: 0 / 1.326 GB, free: 22 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001243/1.073, allocations: 0.9184 MB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.073, allocations: 13.73 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/1.073, allocations: 2 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/1.073, allocations: 42.33 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/1.073, allocations: 55.75 kB / 1.327 GB, free: 21.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/1.073, allocations: 336.7 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/1.074, allocations: 19.95 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.991e-05/1.074, allocations: 39.23 kB / 1.328 GB, free: 20.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.075, allocations: 244.4 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.075, allocations: 0 / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.075, allocations: 1.375 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.075, allocations: 2.75 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/1.076, allocations: 114.6 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/1.077, allocations: 0.6723 MB / 1.329 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/1.078, allocations: 179.5 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/1.079, allocations: 108.6 kB / 1.329 GB, free: 20.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/1.079, allocations: 2.453 kB / 1.329 GB, free: 20.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/1.08, allocations: 238.7 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/1.08, allocations: 0 / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003228/1.084, allocations: 499.2 kB / 1.33 GB, free: 20.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.084, allocations: 67 kB / 1.33 GB, free: 19.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/1.084, allocations: 440.4 kB / 1.33 GB, free: 19.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.084, allocations: 44.16 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/1.084, allocations: 101.2 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/1.084, allocations: 41.36 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.085, allocations: 140.9 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.688e-05/1.085, allocations: 330.2 kB / 1.331 GB, free: 19.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/1.085, allocations: 139.1 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/1.085, allocations: 192.7 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/1.086, allocations: 299.3 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.086, allocations: 0 / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009192/1.087, allocations: 0.5237 MB / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/1.087, allocations: 94.16 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.087, allocations: 2.094 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.087, allocations: 2.375 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/1.087, allocations: 23.94 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.087, allocations: 3.5 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/1.088, allocations: 70.97 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.088, allocations: 65.5 kB / 1.332 GB, free: 18.45 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.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.0002749/1.088, allocations: 214.3 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/1.088, allocations: 42.08 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/1.088, allocations: 42.55 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.088, allocations: 2.344 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.088, allocations: 0 / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.088, allocations: 6.422 kB / 1.332 GB, free: 18.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/1.091, allocations: 0.782 MB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/1.091, allocations: 0 / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/1.091, allocations: 9.594 kB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.091, allocations: 4.688 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/1.091, allocations: 26.7 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.091, allocations: 1.031 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.091, allocations: 0.6094 kB / 1.333 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/1.093, allocations: 481.8 kB / 1.334 GB, free: 17.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/1.093, allocations: 250 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/1.093, allocations: 20.61 kB / 1.334 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.094, allocations: 32.75 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/1.094, allocations: 15.34 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.094, allocations: 56.77 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003982/1.094, allocations: 323.1 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.094, allocations: 0 / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004937/1.095, allocations: 67.28 kB / 1.334 GB, free: 17.25 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.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.002083/1.097, allocations: 1.043 MB / 1.335 GB, free: 16.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.098, allocations: 436 kB / 1.336 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.098, allocations: 4.062 kB / 1.336 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008097/1.099, allocations: 116.2 kB / 1.336 GB, free: 16.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/1.1, allocations: 44.81 kB / 1.336 GB, free: 16.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/1.104, allocations: 3.015 MB / 1.339 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/1.104, allocations: 0.783 MB / 1.34 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.126e-05/1.105, allocations: 13.09 kB / 1.34 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/1.105, allocations: 40.41 kB / 1.34 GB, free: 13.51 MB / 1.061 GB Notification: Performance of SimCode: time 1.363e-06/1.105, allocations: 1.062 kB / 1.34 GB, free: 13.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/1.135, allocations: 6.76 MB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/9.817, allocations: 8.656 kB / 1.346 GB, free: 12.3 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.468219643982593] Failed to read output from testmodel.py, exit status != 0: 9.949707616004162 9.973061291 8.896771548 Calling exit ...