Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.134/5.134, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002414, allocations: 360.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.228/4.228, allocations: 410.7 MB / 1.112 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00185/0.001849, allocations: 178.8 kB / 1.225 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005014, allocations: 12.22 kB / 1.348 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6182, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00162/0.6198, allocations: 1.366 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.6208, allocations: 443.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.6209, allocations: 0.625 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.6209, allocations: 4.656 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.6211, allocations: 23.84 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.6218, allocations: 220.3 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.6221, allocations: 299.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.6222, allocations: 24.72 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.6225, allocations: 175.6 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.6227, allocations: 136.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.6228, allocations: 8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.6229, allocations: 16.91 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.215e-05/0.623, allocations: 75.78 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.6231, allocations: 79.98 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.6234, allocations: 321.3 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.23e-06/0.6234, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.246e-06/0.6234, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.199e-06/0.6234, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 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.001041/0.6245, allocations: 0.6443 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6245, allocations: 11.62 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6247, allocations: 35.67 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.625, allocations: 271.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.6251, allocations: 12 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.6252, allocations: 24.77 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.6256, allocations: 165.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6256, allocations: 1.438 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.6256, allocations: 12.55 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-06/0.6257, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.6259, allocations: 61.09 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.6271, allocations: 0.5717 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.6275, allocations: 141.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.6277, allocations: 60.83 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.6278, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.6284, allocations: 227.4 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.301e-06/0.6284, allocations: 0.5 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000748/0.6292, allocations: 285.8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.6292, allocations: 64.17 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.6296, allocations: 308.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.6296, allocations: 43.02 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.6297, allocations: 101 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.6298, allocations: 39.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.6298, allocations: 8.656 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.6299, allocations: 324.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.6302, allocations: 108.2 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.6306, allocations: 167 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.6309, allocations: 163.5 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.308e-06/0.6309, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009795/0.6319, allocations: 441.8 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.632, allocations: 79.39 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.107e-06/0.632, allocations: 0 / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6321, allocations: 7.953 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.6323, allocations: 27.91 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.87e-06/0.6323, allocations: 4 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.633, allocations: 70.2 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.6331, allocations: 52.83 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.6333, allocations: 184.1 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.6334, allocations: 32.36 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.6335, allocations: 34.19 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-06/0.6335, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.168e-06/0.6335, allocations: 7.953 kB / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6335, allocations: 0 / 1.468 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.6344, allocations: 0.6009 MB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-06/0.6344, allocations: 0 / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.6345, allocations: 11.98 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-06/0.6345, allocations: 3.953 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.6346, allocations: 8.891 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-06/0.6346, allocations: 7.938 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.061e-06/0.6346, allocations: 1.25 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.6351, allocations: 324.1 kB / 1.469 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.6354, allocations: 188.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/0.6355, allocations: 23.94 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.6358, allocations: 6.625 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.6358, allocations: 23.97 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.6359, allocations: 23.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002316/0.6362, allocations: 231 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.97e-07/0.6362, allocations: 0 / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005106/0.6367, allocations: 52.5 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.6369, allocations: 129.1 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006587/0.6375, allocations: 362.7 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.908e-06/0.6376, allocations: 2.375 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.6378, allocations: 79.89 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.6382, allocations: 33.5 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.6391, allocations: 496.2 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.6393, allocations: 0.7638 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000221/0.6395, allocations: 42.16 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.6397, allocations: 39.94 kB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.273e-06/0.6398, allocations: 0 / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.009688/0.6495, allocations: 4.272 MB / 1.476 GB, free: 268.7 MB / 0.8542 GB