Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.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 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 107.7 kB / 16.41 MB, free: 6.473 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.001645/0.001645, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.538/2.538, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.11 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.9411, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002934/0.944, allocations: 1.526 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.9454, allocations: 0.5422 MB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.9455, allocations: 4 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.9456, allocations: 11.86 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.9458, allocations: 27.64 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.9467, allocations: 314.8 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.9473, allocations: 0.4994 MB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.9474, allocations: 11.98 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.9479, allocations: 271.6 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.9482, allocations: 144.2 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.874e-05/0.9483, allocations: 28 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.9484, allocations: 28 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.9486, allocations: 119.6 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.9488, allocations: 179.1 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004668/0.9493, allocations: 427 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9493, allocations: 4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9493, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.9493, allocations: 3.938 kB / 1.171 GB, free: 15.75 MB / 0.9044 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.001347/0.9506, allocations: 0.8781 MB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.9507, allocations: 8.922 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.9508, allocations: 60.69 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.9512, allocations: 314.5 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.9513, allocations: 20.36 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.9514, allocations: 24.36 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.9523, allocations: 206 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9523, allocations: 4.188 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.9524, allocations: 15.92 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9524, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006834/0.9531, allocations: 95.92 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.9535, allocations: 389.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/0.9545, allocations: 178.4 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/0.9551, allocations: 108.8 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.9552, allocations: 4 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008572/0.956, allocations: 225.7 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.9561, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002326/0.9584, allocations: 493 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.9585, allocations: 55.41 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.9589, allocations: 417.8 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/0.9589, allocations: 37.7 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.959, allocations: 101.4 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.9591, allocations: 39.67 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.9593, allocations: 129.5 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9594, allocations: 322.8 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.9597, allocations: 115.9 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.9599, allocations: 173.9 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.9603, allocations: 275.5 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9603, allocations: 0 / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008006/0.9611, allocations: 490.8 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.9612, allocations: 91.31 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9612, allocations: 4 kB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.9613, allocations: 4 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.9614, allocations: 23.91 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9615, allocations: 4 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.9619, allocations: 63.98 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.962, allocations: 59.98 kB / 1.177 GB, free: 10.07 MB / 0.9044 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.00023/0.9622, allocations: 199.9 kB / 1.177 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.9623, allocations: 39.7 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.9624, allocations: 35.75 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9624, allocations: 7.938 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9624, allocations: 7.938 kB / 1.177 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9624, allocations: 3.984 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.9644, allocations: 0.7468 MB / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.9644, allocations: 0 / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.9645, allocations: 8 kB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.9645, allocations: 4 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.9645, allocations: 23.97 kB / 1.178 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9645, allocations: 0 / 1.178 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9645, allocations: 0 / 1.178 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.9661, allocations: 483.4 kB / 1.178 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.9664, allocations: 200.7 kB / 1.178 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.9665, allocations: 12 kB / 1.178 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.9669, allocations: 31.95 kB / 1.178 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.9669, allocations: 4 kB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.967, allocations: 63.97 kB / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000286/0.9673, allocations: 295.1 kB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9673, allocations: 0 / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003347/0.9676, allocations: 67.98 kB / 1.179 GB, free: 7.766 MB / 0.9044 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.0001551/0.9678, allocations: 120.3 kB / 1.179 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.969, allocations: 442.5 kB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.969, allocations: 0 / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.9697, allocations: 126.2 kB / 1.179 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.9701, allocations: 33.47 kB / 1.179 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.9715, allocations: 0.5891 MB / 1.18 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.9719, allocations: 0.7708 MB / 1.181 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.9719, allocations: 19.42 kB / 1.181 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of SimCode: time 3.165e-06/0.9719, allocations: 0 / 1.181 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.006428/0.9784, allocations: 3.686 MB / 1.184 GB, free: 1.852 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time