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.001284/0.001284, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001448/0.001448, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.272/3.272, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.001969/0.001969, allocations: 62.28 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4125, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00419/0.4167, allocations: 1.733 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.4184, allocations: 0.607 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4185, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.4187, allocations: 15.81 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.4189, allocations: 39.77 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.42, allocations: 363.4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.4209, allocations: 0.6087 MB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.421, allocations: 25.52 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.4215, allocations: 319.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.4218, allocations: 156.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.4219, allocations: 43.98 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.422, allocations: 44 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.4222, allocations: 127.6 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.4224, allocations: 179.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.4231, allocations: 0.5957 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4231, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4231, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4231, allocations: 0 / 1.331 GB, free: 12.67 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.001539/0.4247, allocations: 0.8416 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4247, allocations: 12.03 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.723e-05/0.4247, allocations: 192 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.4248, allocations: 42.73 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4249, allocations: 60.66 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.4254, allocations: 276.7 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.4255, allocations: 20.36 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.4256, allocations: 40.3 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4267, allocations: 239.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4267, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.4267, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.4267, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.4276, allocations: 123.8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.4289, allocations: 0.5542 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4301, allocations: 166.5 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.4309, allocations: 112.8 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.4309, allocations: 3.938 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.432, allocations: 227.2 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/0.432, allocations: 4 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00291/0.4349, allocations: 499.9 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.435, allocations: 67.39 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/0.4356, allocations: 441.9 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.4357, allocations: 45.69 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4358, allocations: 105.3 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.4358, allocations: 39.67 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.4361, allocations: 145.3 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4363, allocations: 334.8 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.4366, allocations: 215.3 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.4371, allocations: 273.2 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.4375, allocations: 294.3 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4375, allocations: 0 / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001057/0.4386, allocations: 0.5952 MB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-05/0.4387, allocations: 87.38 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4387, allocations: 4.188 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4387, allocations: 4 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4389, allocations: 27.91 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4389, allocations: 4 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.4394, allocations: 59.78 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4395, allocations: 55.98 kB / 1.337 GB, free: 6.383 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.0003514/0.4399, allocations: 228.3 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.44, allocations: 39.72 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.4401, allocations: 43.67 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4401, allocations: 4 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4401, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.4401, allocations: 7.922 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.4425, allocations: 0.7396 MB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4425, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.4426, allocations: 4 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.4426, allocations: 4 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.4426, allocations: 23.91 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4426, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4426, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4445, allocations: 493.2 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.4449, allocations: 173.5 kB / 1.339 GB, free: 4.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.445, allocations: 23.88 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.4455, allocations: 34.95 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4455, allocations: 11.98 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.4456, allocations: 51.98 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003988/0.446, allocations: 327.1 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.446, allocations: 0 / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005083/0.4465, allocations: 71.92 kB / 1.339 GB, free: 4.059 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.002339/0.4489, allocations: 1.056 MB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.4505, allocations: 0.5018 MB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4505, allocations: 0 / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.4513, allocations: 124.2 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4518, allocations: 39.11 kB / 1.341 GB, free: 2.281 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.4571, allocations: 3.338 MB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.4574, allocations: 186.6 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.861e-05/0.4574, allocations: 13.42 kB / 1.344 GB, free: 14.54 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.4575, allocations: 35.42 kB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/0.4575, allocations: 0 / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.4923, allocations: 8.184 MB / 1.353 GB, free: 6.426 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.18, allocations: 9.281 kB / 1.353 GB, free: 6.422 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.171571996994317] Failed to read output from testmodel.py, exit status != 0: 12.347406859975308 12.372271249 11.94447255 Calling exit ...