Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001742/0.001742, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002418/0.002418, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.785 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.221/3.221, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.002011/0.002011, allocations: 61 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4167, allocations: 176.1 MB / 1.327 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.004141/0.4208, allocations: 1.722 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4225, allocations: 0.6109 MB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.4227, allocations: 0 / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.4229, allocations: 15.8 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.4231, allocations: 35.78 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.4244, allocations: 363.3 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.4253, allocations: 0.6048 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.4255, allocations: 33.52 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.4261, allocations: 319.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.4265, allocations: 163.3 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.4267, allocations: 40 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.4268, allocations: 43.94 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.427, allocations: 127.6 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.4273, allocations: 179.2 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008443/0.4281, allocations: 0.5995 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4281, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4281, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.4282, allocations: 0 / 1.331 GB, free: 12.5 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.001922/0.4301, allocations: 0.8378 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4301, allocations: 8.031 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.185e-05/0.4302, allocations: 8.188 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.4302, allocations: 38.75 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.4304, allocations: 56.64 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.4309, allocations: 280.6 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.431, allocations: 16.38 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.4311, allocations: 32.36 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.4322, allocations: 246.7 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4322, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4322, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4322, allocations: 7.984 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008021/0.433, allocations: 111.9 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.4345, allocations: 0.562 MB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4356, allocations: 170.4 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.4363, allocations: 108.8 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.4364, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.4374, allocations: 236.8 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.4374, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002696/0.4401, allocations: 0.4895 MB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.4402, allocations: 63.39 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.4409, allocations: 449.9 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.441, allocations: 41.69 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4411, allocations: 101.4 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4412, allocations: 39.73 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.4415, allocations: 145.4 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4417, allocations: 322.8 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.442, allocations: 219.3 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4425, allocations: 273.2 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.4429, allocations: 291 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4429, allocations: 7.938 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001026/0.4439, allocations: 0.5918 MB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.4441, allocations: 91.36 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4441, allocations: 0 / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4441, allocations: 8.125 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.4443, allocations: 23.92 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.4443, allocations: 4 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.4448, allocations: 63.78 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4449, allocations: 67.95 kB / 1.337 GB, free: 6.211 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.000324/0.4452, allocations: 212.3 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.4453, allocations: 43.72 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.768e-05/0.4454, allocations: 47.72 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4454, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4454, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4454, allocations: 3.938 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.448, allocations: 0.7492 MB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.448, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.448, allocations: 4 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4481, allocations: 3.984 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.4481, allocations: 19.92 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4481, allocations: 0 / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4481, allocations: 0 / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.45, allocations: 498.1 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.4503, allocations: 177.5 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4504, allocations: 23.92 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.4509, allocations: 31.97 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4509, allocations: 11.92 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.451, allocations: 59.97 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004614/0.4515, allocations: 315.1 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4515, allocations: 4 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004473/0.4519, allocations: 75.92 kB / 1.339 GB, free: 3.887 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.002392/0.4543, allocations: 1.053 MB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.4559, allocations: 0.4979 MB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4559, allocations: 0 / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.4567, allocations: 112.2 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.4571, allocations: 41.05 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.4629, allocations: 3.342 MB / 1.344 GB, free: 14.6 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.4631, allocations: 186.6 kB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.4632, allocations: 17.42 kB / 1.344 GB, free: 14.38 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.4633, allocations: 31.42 kB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.4633, allocations: 0 / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.4984, allocations: 8.185 MB / 1.353 GB, free: 6.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.98, allocations: 10.69 kB / 1.353 GB, free: 6.262 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.951771969906986] Failed to read output from testmodel.py, exit status != 0: 12.14084291702602 12.157704118 11.726141111 Calling exit ...