Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009468/0.009468, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.002279/0.002279, allocations: 194 kB / 16.67 MB, free: 6.348 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.337, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003063/0.3401, allocations: 1.523 MB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3415, allocations: 0.5402 MB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.3415, allocations: 4 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.3417, allocations: 7.875 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3418, allocations: 35.62 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.3425, allocations: 307.3 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.3431, allocations: 0.4994 MB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.3431, allocations: 8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.3435, allocations: 275.6 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3438, allocations: 143.6 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.3439, allocations: 28 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.344, allocations: 24 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.3441, allocations: 119.6 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.3443, allocations: 183.1 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.3448, allocations: 422.4 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3448, allocations: 0 / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3448, allocations: 4 kB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3448, allocations: 0 / 1.171 GB, free: 2.742 MB / 0.92 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.001261/0.3461, allocations: 0.8898 MB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3461, allocations: 8.031 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3462, allocations: 52.7 kB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.3466, allocations: 310.5 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.3467, allocations: 20.36 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.292e-05/0.3468, allocations: 28.36 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.3478, allocations: 214 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3478, allocations: 192 / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3478, allocations: 3.938 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3478, allocations: 0 / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.3486, allocations: 99.91 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.349, allocations: 401.2 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3501, allocations: 170.4 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.3508, allocations: 116.8 kB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3509, allocations: 11.97 kB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.3518, allocations: 219.2 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3518, allocations: 0 / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.3543, allocations: 495.3 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3544, allocations: 63.39 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3548, allocations: 409.9 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.165e-05/0.3548, allocations: 41.69 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3549, allocations: 97.44 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.355, allocations: 43.62 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.3552, allocations: 129.5 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3553, allocations: 322.8 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.3555, allocations: 119.9 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.3558, allocations: 170.9 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3562, allocations: 279.5 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3562, allocations: 0 / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007586/0.357, allocations: 484.7 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.3571, allocations: 95.31 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3571, allocations: 192 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3571, allocations: 8 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3573, allocations: 19.92 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3573, allocations: 4 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.3578, allocations: 67.78 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.3579, allocations: 59.98 kB / 1.176 GB, free: 13.04 MB / 0.9356 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.0002068/0.3581, allocations: 192 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3581, allocations: 39.7 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.408e-05/0.3582, allocations: 47.73 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3582, allocations: 0 / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3582, allocations: 0 / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3582, allocations: 0 / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.3604, allocations: 0.7521 MB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3604, allocations: 0 / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.3605, allocations: 7.984 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3605, allocations: 0 / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3605, allocations: 19.97 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3605, allocations: 0 / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3605, allocations: 0 / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3623, allocations: 480.8 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.3625, allocations: 208.7 kB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.3626, allocations: 8 kB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.3631, allocations: 35.97 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3631, allocations: 7.984 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.3632, allocations: 55.97 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002911/0.3635, allocations: 295.1 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3635, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003542/0.3639, allocations: 68 kB / 1.178 GB, free: 10.76 MB / 0.9356 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.0001645/0.364, allocations: 123.2 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.3653, allocations: 436.2 kB / 1.178 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3653, allocations: 3.938 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007777/0.3661, allocations: 124.2 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3665, allocations: 34.14 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.368, allocations: 0.5511 MB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3683, allocations: 0.7708 MB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.3683, allocations: 17.08 kB / 1.18 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.3684, allocations: 19.42 kB / 1.18 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/0.3684, allocations: 0 / 1.18 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of Templates: time 0.008211/0.3766, allocations: 4.938 MB / 1.185 GB, free: 3.574 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches