Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001393/0.001393, 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.001421/0.001421, 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.609/1.609, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.926/2.926, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002048/0.002048, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003728/1.02, allocations: 1.765 MB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001784/1.022, allocations: 0.6342 MB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/1.022, allocations: 0.6875 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/1.022, allocations: 11.02 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/1.022, allocations: 36.86 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/1.023, allocations: 363.3 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009514/1.024, allocations: 0.5919 MB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/1.025, allocations: 26.45 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/1.025, allocations: 309.8 kB / 1.283 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/1.025, allocations: 168.2 kB / 1.283 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/1.026, allocations: 41.69 kB / 1.283 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/1.026, allocations: 44.59 kB / 1.283 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/1.026, allocations: 131.7 kB / 1.283 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/1.026, allocations: 216.9 kB / 1.283 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000863/1.027, allocations: 0.5946 MB / 1.284 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/1.027, allocations: 1.062 kB / 1.284 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/1.027, allocations: 0 / 1.284 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.027, allocations: 0 / 1.284 GB, free: 8.98 MB / 0.9981 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.001638/1.029, allocations: 0.9172 MB / 1.285 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.029, allocations: 9.156 kB / 1.285 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.407e-05/1.029, allocations: 6.625 kB / 1.285 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/1.029, allocations: 45.95 kB / 1.285 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/1.029, allocations: 52.61 kB / 1.285 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/1.029, allocations: 340.8 kB / 1.285 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/1.029, allocations: 18.73 kB / 1.285 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.029, allocations: 31.55 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.031, allocations: 236.2 kB / 1.285 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.031, allocations: 0 / 1.285 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/1.031, allocations: 10.44 kB / 1.285 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/1.031, allocations: 2.375 kB / 1.285 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008613/1.032, allocations: 115.7 kB / 1.286 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/1.033, allocations: 0.669 MB / 1.286 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.034, allocations: 175 kB / 1.286 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/1.035, allocations: 108.8 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/1.035, allocations: 3.469 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/1.036, allocations: 232.9 kB / 1.287 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/1.036, allocations: 4 kB / 1.287 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002931/1.039, allocations: 0.4925 MB / 1.287 GB, free: 7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/1.039, allocations: 61.56 kB / 1.287 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/1.04, allocations: 443.9 kB / 1.288 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/1.04, allocations: 45.38 kB / 1.288 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/1.04, allocations: 100.7 kB / 1.288 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/1.04, allocations: 37.7 kB / 1.288 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.04, allocations: 136.6 kB / 1.288 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.04, allocations: 330.3 kB / 1.288 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/1.041, allocations: 139 kB / 1.288 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/1.041, allocations: 184.2 kB / 1.289 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/1.041, allocations: 304.7 kB / 1.289 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.041, allocations: 0 / 1.289 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001005/1.042, allocations: 0.5244 MB / 1.289 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.043, allocations: 94.73 kB / 1.289 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/1.043, allocations: 2.406 kB / 1.289 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.043, allocations: 6.594 kB / 1.289 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/1.043, allocations: 31.62 kB / 1.289 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/1.043, allocations: 3.281 kB / 1.289 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/1.043, allocations: 63.03 kB / 1.29 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/1.043, allocations: 60.77 kB / 1.29 GB, free: 5.449 MB / 0.9981 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.000303/1.044, allocations: 219.4 kB / 1.29 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/1.044, allocations: 41.25 kB / 1.29 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/1.044, allocations: 39.02 kB / 1.29 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/1.044, allocations: 2.531 kB / 1.29 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.044, allocations: 0.7031 kB / 1.29 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.044, allocations: 4.547 kB / 1.29 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/1.046, allocations: 0.7872 MB / 1.291 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.046, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/1.046, allocations: 8.547 kB / 1.291 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.046, allocations: 1.125 kB / 1.291 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/1.046, allocations: 23.83 kB / 1.291 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.046, allocations: 0 / 1.291 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.046, allocations: 5.859 kB / 1.291 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.048, allocations: 485.5 kB / 1.291 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/1.049, allocations: 245.2 kB / 1.291 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/1.049, allocations: 23.64 kB / 1.291 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/1.049, allocations: 35.02 kB / 1.291 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/1.049, allocations: 12.88 kB / 1.291 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/1.05, allocations: 54.73 kB / 1.292 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004101/1.05, allocations: 319.3 kB / 1.292 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.05, allocations: 0 / 1.292 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004818/1.05, allocations: 68.95 kB / 1.292 GB, free: 4.254 MB / 0.9981 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.00236/1.053, allocations: 1.05 MB / 1.293 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001496/1.054, allocations: 434.5 kB / 1.293 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.054, allocations: 0 / 1.293 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/1.055, allocations: 118.3 kB / 1.293 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/1.056, allocations: 33.92 kB / 1.293 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/1.061, allocations: 3.026 MB / 1.296 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/1.061, allocations: 0.7919 MB / 1.297 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.92e-05/1.061, allocations: 11.27 kB / 1.297 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/1.061, allocations: 35.8 kB / 1.297 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/1.061, allocations: 0 / 1.297 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/1.088, allocations: 6.781 MB / 1.304 GB, free: 15.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/9.561, allocations: 7.312 kB / 1.304 GB, free: 15.27 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.999308211030439] Failed to read output from testmodel.py, exit status != 0: 9.69334419700317 9.718101953 8.686230635 Calling exit ...