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.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",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="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.0007728/0.0007727, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0008343/0.0008344, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.592/2.592, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003386, allocations: 17.31 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002369/0.3355, allocations: 1.454 MB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3371, allocations: 0.6849 MB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3372, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3373, allocations: 7.922 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3375, allocations: 27.84 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.3384, allocations: 342.3 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.339, allocations: 0.5306 MB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3391, allocations: 33.09 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005979/0.3398, allocations: 318.9 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.3401, allocations: 167.1 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3403, allocations: 16 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.3404, allocations: 12 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3405, allocations: 119.5 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.3408, allocations: 224.5 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.3413, allocations: 0.5724 MB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3413, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3413, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.3413, allocations: 4 kB / 1.063 GB, free: 364 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.001204/0.3426, allocations: 0.7692 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3426, allocations: 11.97 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.591e-05/0.3427, allocations: 42.73 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.3428, allocations: 56.38 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.3433, allocations: 334.2 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.3433, allocations: 20.56 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.3434, allocations: 32.36 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3444, allocations: 245.7 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.3445, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.3445, allocations: 8 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3445, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.3453, allocations: 123.9 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3466, allocations: 0.6874 MB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3477, allocations: 206.5 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.3485, allocations: 128.8 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3485, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009571/0.3494, allocations: 245.4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3495, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0026/0.3521, allocations: 0.5204 MB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.3521, allocations: 63.39 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3526, allocations: 441.8 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.3527, allocations: 41.69 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.3527, allocations: 105.3 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.3528, allocations: 43.55 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.3529, allocations: 37.7 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.353, allocations: 326.8 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.3533, allocations: 135.9 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.3536, allocations: 199.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.354, allocations: 299.7 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.354, allocations: 3.938 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008385/0.3549, allocations: 0.5222 MB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/0.355, allocations: 99.38 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.355, allocations: 3.984 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.355, allocations: 4 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3551, allocations: 19.92 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.3552, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.3557, allocations: 79.86 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.3558, allocations: 67.95 kB / 1.069 GB, free: 10.14 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.0002437/0.356, allocations: 208.3 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.3561, allocations: 39.44 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.3562, allocations: 47.78 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3562, allocations: 4 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3562, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.3562, allocations: 3.938 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.3583, allocations: 0.8053 MB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3584, allocations: 0 / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.3584, allocations: 7.938 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3584, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.3584, allocations: 27.91 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3585, allocations: 11.98 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3585, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3602, allocations: 498.8 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.3605, allocations: 244.4 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.3606, allocations: 19.92 kB / 1.071 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.3611, allocations: 35.97 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3611, allocations: 11.98 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/0.3612, allocations: 55.98 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003068/0.3615, allocations: 323.1 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.773e-06/0.3615, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003482/0.3619, allocations: 75.86 kB / 1.071 GB, free: 7.66 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.002115/0.364, allocations: 1.056 MB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.3653, allocations: 490.4 kB / 1.073 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3653, allocations: 0 / 1.073 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.3661, allocations: 136.2 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3665, allocations: 34.47 kB / 1.073 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.3709, allocations: 3.133 MB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3713, allocations: 0.7828 MB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.799e-05/0.3714, allocations: 17.42 kB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.3715, allocations: 31.42 kB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3715, allocations: 0 / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.3918, allocations: 6.519 MB / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.3921, allocations: 229.7 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.094, allocations: 0 / 1.083 GB, free: 11.1 MB / 0.8419 GB (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 --timeout=50 --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)