Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001622/0.001622, allocations: 101.8 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.001966/0.001966, 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 33.48 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.001953/0.001953, allocations: 66.5 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4218, allocations: 176.1 MB / 1.327 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003767/0.4256, allocations: 1.769 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4273, allocations: 0.6284 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4274, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.4276, allocations: 15.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.4277, allocations: 35.78 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4289, allocations: 359.3 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.4298, allocations: 0.6126 MB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.4299, allocations: 29.45 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006102/0.4305, allocations: 315.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.4309, allocations: 160.7 kB / 1.331 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.431, allocations: 43.98 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.4311, allocations: 44 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.4313, allocations: 127.6 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.4316, allocations: 219 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.4324, allocations: 0.5918 MB / 1.332 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4324, allocations: 0 / 1.332 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4324, allocations: 0 / 1.332 GB, free: 12.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4324, allocations: 0 / 1.332 GB, free: 12.97 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.001626/0.434, allocations: 0.8494 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4341, allocations: 12.03 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.685e-05/0.4341, allocations: 192 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.4342, allocations: 46.73 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.4343, allocations: 56.66 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.4348, allocations: 280.7 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.274e-05/0.4349, allocations: 20.36 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.501e-05/0.435, allocations: 32.36 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.4361, allocations: 241.6 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4361, allocations: 4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4361, allocations: 4 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4361, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.4369, allocations: 117.1 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.4384, allocations: 0.636 MB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4395, allocations: 174.4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.4402, allocations: 112.7 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.4402, allocations: 4 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.4413, allocations: 241.5 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.993e-06/0.4413, allocations: 0 / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002703/0.444, allocations: 497 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.4441, allocations: 67.39 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.4446, allocations: 445.9 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.4447, allocations: 41.69 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4448, allocations: 101.4 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.4448, allocations: 39.73 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.4451, allocations: 137.4 kB / 1.336 GB, free: 8.648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4452, allocations: 330.8 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.4455, allocations: 135.9 kB / 1.336 GB, free: 8.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4459, allocations: 193.9 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.4463, allocations: 306.5 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4463, allocations: 4 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009406/0.4472, allocations: 0.5137 MB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.4473, allocations: 95.38 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4474, allocations: 0 / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4474, allocations: 4 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4475, allocations: 28.11 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4476, allocations: 11.97 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.4481, allocations: 59.78 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.4481, allocations: 59.98 kB / 1.337 GB, free: 6.84 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.000284/0.4484, allocations: 212.3 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.4485, allocations: 43.72 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.022e-05/0.4486, allocations: 47.72 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4486, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4486, allocations: 0 / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4486, allocations: 3.938 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.4509, allocations: 0.761 MB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4509, allocations: 0 / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.451, allocations: 4 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.451, allocations: 4 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.451, allocations: 23.91 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.451, allocations: 0 / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.451, allocations: 3.984 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4529, allocations: 483.4 kB / 1.339 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.4532, allocations: 181.4 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.4533, allocations: 19.94 kB / 1.339 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.4538, allocations: 39.95 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.4539, allocations: 7.984 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.4539, allocations: 59.98 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004131/0.4543, allocations: 319.1 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4543, allocations: 0 / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004854/0.4548, allocations: 71.94 kB / 1.339 GB, free: 4.508 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.002319/0.4571, allocations: 1.04 MB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.4586, allocations: 450.4 kB / 1.341 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4586, allocations: 0 / 1.341 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.4594, allocations: 111.9 kB / 1.341 GB, free: 2.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4598, allocations: 45.94 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.4649, allocations: 3.015 MB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.4654, allocations: 0.7862 MB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.515e-05/0.4655, allocations: 17.42 kB / 1.345 GB, free: 14.85 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.4656, allocations: 31.42 kB / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 1.002e-06/0.4656, allocations: 0 / 1.345 GB, free: 14.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.4968, allocations: 6.959 MB / 1.352 GB, free: 7.914 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.85, allocations: 3.281 kB / 1.352 GB, free: 7.914 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.85759001999395] Failed to read output from testmodel.py, exit status != 0: 12.018177899008151 12.035300917 11.599569254 Calling exit ...