Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007028/0.007028, allocations: 98.69 kB / 15.73 MB, free: 6.027 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.00135/0.00135, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 61.97 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3385, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002885/0.3415, allocations: 1.516 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3429, allocations: 0.5451 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.343, allocations: 0 / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3431, allocations: 15.8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3432, allocations: 19.88 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.344, allocations: 314.8 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005868/0.3446, allocations: 0.5033 MB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.3447, allocations: 11.97 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.345, allocations: 271.6 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.3454, allocations: 147.6 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.3454, allocations: 28 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.3455, allocations: 32 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3457, allocations: 111.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.3459, allocations: 187 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.3464, allocations: 430.3 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3465, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3465, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.3465, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001343/0.3478, allocations: 0.8665 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3479, allocations: 12.03 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.348, allocations: 64.58 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.3485, allocations: 306.7 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.035e-05/0.3485, allocations: 20.36 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.3486, allocations: 28.36 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3497, allocations: 206 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3497, allocations: 192 / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.3498, allocations: 19.86 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3498, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.3506, allocations: 95.92 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.351, allocations: 393.2 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3522, allocations: 178.4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.353, allocations: 108.8 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.353, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.3541, allocations: 227.1 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.3541, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002636/0.3567, allocations: 492.1 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3568, allocations: 59.41 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.3572, allocations: 413.9 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.3573, allocations: 37.7 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.3574, allocations: 101.4 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.3574, allocations: 39.72 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.3577, allocations: 129.4 kB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3578, allocations: 322.8 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.3581, allocations: 115.9 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.3584, allocations: 178.8 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.3588, allocations: 278.6 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3588, allocations: 0 / 1.096 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008006/0.3596, allocations: 496.6 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.3597, allocations: 91.31 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3597, allocations: 0 / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3598, allocations: 4 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3599, allocations: 23.97 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.36, allocations: 7.938 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.3604, allocations: 67.97 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.3606, allocations: 55.98 kB / 1.097 GB, free: 7.754 MB / 0.8575 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002638/0.3608, allocations: 196 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.3609, allocations: 47.69 kB / 1.097 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.361, allocations: 35.75 kB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.361, allocations: 0 / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.361, allocations: 4 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.361, allocations: 0 / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.3633, allocations: 0.7444 MB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3633, allocations: 0 / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.3634, allocations: 11.94 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3634, allocations: 0 / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.3634, allocations: 23.97 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3634, allocations: 0 / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3635, allocations: 4 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3653, allocations: 479.4 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.3656, allocations: 196.7 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.3657, allocations: 12 kB / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/0.3662, allocations: 34.2 kB / 1.099 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3663, allocations: 4 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.3663, allocations: 63.97 kB / 1.099 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003193/0.3667, allocations: 299 kB / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3667, allocations: 0 / 1.099 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003923/0.3671, allocations: 67.98 kB / 1.099 GB, free: 5.453 MB / 0.8575 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001698/0.3672, allocations: 120.8 kB / 1.099 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.3686, allocations: 441 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3686, allocations: 0 / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.3694, allocations: 119.9 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3698, allocations: 35.7 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3714, allocations: 0.5438 MB / 1.1 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3718, allocations: 0.7747 MB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.932e-05/0.3719, allocations: 17.02 kB / 1.101 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.372, allocations: 19.44 kB / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.372, allocations: 4 kB / 1.101 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of Templates: time 0.00897/0.3809, allocations: 4.936 MB / 1.106 GB, free: 14.28 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches