Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.011/0.011, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.002337/0.002337, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.02, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002348/1.022, allocations: 1.525 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00112/1.024, allocations: 0.5471 MB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/1.024, allocations: 1.188 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.248e-05/1.024, allocations: 9.703 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/1.024, allocations: 22.88 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007601/1.025, allocations: 304.9 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/1.025, allocations: 0.5049 MB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/1.025, allocations: 10.25 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/1.026, allocations: 270 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/1.026, allocations: 143.9 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/1.026, allocations: 26.09 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/1.026, allocations: 26.56 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/1.026, allocations: 115.4 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/1.026, allocations: 189.9 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004691/1.027, allocations: 428.3 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.027, allocations: 0.7969 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.804e-06/1.027, allocations: 0.9688 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.027, allocations: 4 kB / 1.092 GB, free: 3.32 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.001174/1.028, allocations: 0.8689 MB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.028, allocations: 9.406 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/1.028, allocations: 55.42 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/1.029, allocations: 316.6 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/1.029, allocations: 17.86 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/1.029, allocations: 30.31 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.03, allocations: 221.5 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.03, allocations: 192 / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/1.03, allocations: 6.297 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.03, allocations: 1.875 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008541/1.031, allocations: 104.7 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/1.031, allocations: 387.7 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/1.032, allocations: 175.8 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/1.033, allocations: 112.2 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/1.033, allocations: 2.062 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.034, allocations: 228.2 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/1.034, allocations: 4 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.003056/1.038, allocations: 488.6 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/1.038, allocations: 58.5 kB / 1.095 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/1.038, allocations: 418.5 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/1.038, allocations: 40.45 kB / 1.095 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/1.038, allocations: 95 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/1.038, allocations: 33.72 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/1.039, allocations: 131.8 kB / 1.096 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.566e-05/1.039, allocations: 324.1 kB / 1.096 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/1.039, allocations: 120.2 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/1.039, allocations: 174.9 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/1.04, allocations: 276.7 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.04, allocations: 0 / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000863/1.041, allocations: 491.6 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/1.041, allocations: 88.41 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/1.041, allocations: 1.406 kB / 1.097 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.041, allocations: 7.156 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/1.041, allocations: 28.06 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.041, allocations: 3.234 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/1.042, allocations: 58.19 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.483e-05/1.042, allocations: 58.11 kB / 1.097 GB, free: 208 kB / 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.0002354/1.042, allocations: 199.1 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.042, allocations: 45.69 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/1.042, allocations: 37.73 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.042, allocations: 2.156 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.042, allocations: 0 / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.042, allocations: 5.203 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/1.045, allocations: 0.7487 MB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.045, allocations: 0 / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/1.045, allocations: 5.156 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.045, allocations: 1.219 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/1.045, allocations: 22.02 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/1.045, allocations: 1.188 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.045, allocations: 5.219 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/1.047, allocations: 482.6 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/1.047, allocations: 196.6 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/1.047, allocations: 19.52 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/1.048, allocations: 27.41 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/1.048, allocations: 11.72 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.048, allocations: 61.56 kB / 1.099 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003421/1.048, allocations: 293.3 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.048, allocations: 0 / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004552/1.049, allocations: 64.52 kB / 1.099 GB, free: 15.09 MB / 0.8731 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.0001611/1.049, allocations: 121.1 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001464/1.05, allocations: 441.8 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.05, allocations: 0 / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/1.051, allocations: 118.5 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/1.052, allocations: 39.97 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/1.053, allocations: 0.559 MB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/1.054, allocations: 0.7673 MB / 1.101 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.945e-05/1.054, allocations: 15.3 kB / 1.101 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/1.054, allocations: 16.12 kB / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.054, allocations: 0 / 1.101 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.01051/1.064, allocations: 4.944 MB / 1.106 GB, free: 12.88 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches