Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007442/0.007442, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.661/2.661, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 18.38 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00256/0.3294, allocations: 1.458 MB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3309, allocations: 0.6888 MB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.3311, allocations: 0 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.3312, allocations: 7.875 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.3314, allocations: 23.91 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3325, allocations: 338.4 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.3333, allocations: 0.5306 MB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3334, allocations: 33.03 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.3341, allocations: 318.9 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.3345, allocations: 167.1 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3346, allocations: 16 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.3347, allocations: 12 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3349, allocations: 115.6 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.3352, allocations: 224.5 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.3359, allocations: 0.5685 MB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3359, allocations: 8 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3359, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.3359, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 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.001517/0.3375, allocations: 0.7731 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3375, allocations: 11.97 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.3376, allocations: 42.73 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.3378, allocations: 56.38 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.3383, allocations: 330.2 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.3384, allocations: 28.55 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3385, allocations: 28.36 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3395, allocations: 246.8 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3396, allocations: 4 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.3396, allocations: 8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3396, allocations: 3.938 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.3404, allocations: 119.9 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.3417, allocations: 0.6797 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3428, allocations: 214.4 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.3436, allocations: 128.8 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3436, allocations: 3.984 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009213/0.3446, allocations: 239.2 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.3446, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002597/0.3472, allocations: 0.5223 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3472, allocations: 63.41 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.3477, allocations: 445.8 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.3478, allocations: 37.7 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.3479, allocations: 109.3 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.348, allocations: 39.55 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.348, allocations: 41.69 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.3481, allocations: 326.8 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.3484, allocations: 135.9 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.3488, allocations: 189.9 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.3491, allocations: 302.8 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3492, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008554/0.35, allocations: 0.5256 MB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.3501, allocations: 99.38 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.3501, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3501, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3503, allocations: 23.92 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3503, allocations: 4 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.3508, allocations: 83.84 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.3509, allocations: 55.98 kB / 1.069 GB, free: 10.12 MB / 0.8262 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.0002599/0.3512, allocations: 212.3 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.3513, allocations: 43.42 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.3513, allocations: 47.8 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3514, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3514, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3514, allocations: 3.938 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.3536, allocations: 0.8028 MB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3536, allocations: 3.984 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.3536, allocations: 4 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.3536, allocations: 7.984 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.3537, allocations: 23.92 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3537, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3537, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3554, allocations: 0.4937 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.3557, allocations: 248.4 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.3558, allocations: 19.94 kB / 1.071 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/0.3563, allocations: 35.97 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.3563, allocations: 7.984 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.3564, allocations: 59.97 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003069/0.3567, allocations: 319.1 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3567, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003712/0.3571, allocations: 75.86 kB / 1.071 GB, free: 7.637 MB / 0.8262 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.002088/0.3592, allocations: 1.061 MB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3605, allocations: 482.5 kB / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3605, allocations: 0 / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.3613, allocations: 136.2 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3617, allocations: 36.34 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.3664, allocations: 3.132 MB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.3668, allocations: 0.7789 MB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.732e-05/0.3669, allocations: 17.42 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.3669, allocations: 31.42 kB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.367, allocations: 0 / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.3846, allocations: 6.517 MB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.3848, allocations: 241.3 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.102, allocations: 0 / 1.083 GB, free: 11.07 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)