Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001285/0.001285, allocations: 101.9 kB / 19.73 MB, free: 2.113 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.001457/0.001457, allocations: 222.5 kB / 23.03 MB, free: 4.91 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.408/3.408, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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_latest_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.002034/0.002034, allocations: 62.33 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4299, allocations: 179 MB / 1.345 GB, free: 56 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003424/0.4333, allocations: 1.737 MB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.4347, allocations: 0.6089 MB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.4348, allocations: 4 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.4349, allocations: 11.86 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.4351, allocations: 39.78 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009915/0.4361, allocations: 370 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007477/0.4368, allocations: 0.5932 MB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4369, allocations: 29.5 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.4375, allocations: 315.6 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.4379, allocations: 164.8 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.438, allocations: 44 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.4381, allocations: 40 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4383, allocations: 127.6 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.4385, allocations: 179.2 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.4392, allocations: 0.5957 MB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4392, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4392, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.4392, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 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.001552/0.4408, allocations: 0.8378 MB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4408, allocations: 12.03 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.4408, allocations: 192 / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.4409, allocations: 46.73 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.441, allocations: 56.66 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.4415, allocations: 284.6 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.4415, allocations: 28.3 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.4416, allocations: 28.38 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4427, allocations: 234.8 kB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4428, allocations: 0 / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.4428, allocations: 7.984 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4428, allocations: 0 / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.4437, allocations: 123.8 kB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.445, allocations: 0.5658 MB / 1.352 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4461, allocations: 174.4 kB / 1.352 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.4469, allocations: 108.8 kB / 1.352 GB, free: 8.559 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.4469, allocations: 4 kB / 1.352 GB, free: 8.555 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.448, allocations: 231.2 kB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.448, allocations: 0 / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.00278/0.4508, allocations: 0.4895 MB / 1.353 GB, free: 7.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4508, allocations: 59.41 kB / 1.353 GB, free: 7.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.4514, allocations: 449.8 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.4514, allocations: 37.7 kB / 1.354 GB, free: 7.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4516, allocations: 101.4 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.4516, allocations: 43.67 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.4518, allocations: 133.5 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.452, allocations: 330.8 kB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.4524, allocations: 219.3 kB / 1.354 GB, free: 6.418 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.4528, allocations: 273.2 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.4532, allocations: 300.2 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4532, allocations: 0 / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009951/0.4542, allocations: 0.5899 MB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.4543, allocations: 87.56 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4543, allocations: 8 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4543, allocations: 0 / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4545, allocations: 23.92 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.4545, allocations: 4 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.455, allocations: 67.72 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.619e-05/0.4551, allocations: 59.98 kB / 1.356 GB, free: 4.914 MB / 1.045 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.0002803/0.4554, allocations: 224.3 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.4555, allocations: 35.77 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.4556, allocations: 43.72 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4556, allocations: 4 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4556, allocations: 0 / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4556, allocations: 3.938 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.4579, allocations: 0.7424 MB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4579, allocations: 4 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.458, allocations: 3.984 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.458, allocations: 7.938 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.458, allocations: 23.91 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.458, allocations: 0 / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.458, allocations: 0 / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4599, allocations: 495.4 kB / 1.357 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.4602, allocations: 177.5 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.4603, allocations: 19.88 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.4608, allocations: 31.97 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.4608, allocations: 7.984 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.4609, allocations: 63.97 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003801/0.4613, allocations: 315.1 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4613, allocations: 0 / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000473/0.4618, allocations: 75.88 kB / 1.358 GB, free: 2.59 MB / 1.045 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.002309/0.4641, allocations: 1.045 MB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.4656, allocations: 0.5002 MB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4656, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.4664, allocations: 116.2 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.4669, allocations: 42.47 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005382/0.4722, allocations: 3.347 MB / 1.363 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.4725, allocations: 175 kB / 1.363 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.4726, allocations: 13.42 kB / 1.363 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.4726, allocations: 35.42 kB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/0.4726, allocations: 0 / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.5051, allocations: 8.189 MB / 1.371 GB, free: 4.953 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.93, allocations: 15.12 kB / 1.371 GB, free: 4.941 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.19728058099281] Failed to read output from testmodel.py, exit status != 0: 12.097608156967908 12.121498861 11.677759123 Calling exit ...