Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsPlus,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.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_10_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.001707/0.001707, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002251/0.002252, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.544/1.544, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.532/2.532, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 64.14 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6206/0.622, allocations: 151.6 MB / 1.017 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002444/0.6245, allocations: 1.586 MB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.6257, allocations: 0.5813 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.6258, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.497e-05/0.6258, allocations: 7.922 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.626, allocations: 27.84 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.6267, allocations: 291 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.627, allocations: 443.5 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.6271, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.6274, allocations: 314.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.6277, allocations: 155.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.6278, allocations: 16 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.6279, allocations: 15.94 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.628, allocations: 119.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.6282, allocations: 178.8 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.6286, allocations: 420.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6286, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.41e-07/0.6286, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6286, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 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.001142/0.6298, allocations: 0.8703 MB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6298, allocations: 8.031 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.6299, allocations: 56.47 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.6303, allocations: 314.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.6303, allocations: 16.36 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.6304, allocations: 28.36 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.6315, allocations: 206 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6315, allocations: 4.172 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.6316, allocations: 7.938 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6316, allocations: 8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008877/0.6325, allocations: 99.84 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.6329, allocations: 393.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.6341, allocations: 174.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008784/0.635, allocations: 104.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.635, allocations: 7.984 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.6361, allocations: 223.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.6361, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002847/0.639, allocations: 494 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.639, allocations: 59.41 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.6395, allocations: 413.8 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.6396, allocations: 41.69 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.6397, allocations: 97.44 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.6397, allocations: 39.55 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6399, allocations: 125.3 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6401, allocations: 322.8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.6404, allocations: 123.9 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.6407, allocations: 173.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.6411, allocations: 275.1 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6411, allocations: 0 / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008514/0.642, allocations: 0.4889 MB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.6421, allocations: 95.25 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6421, allocations: 4 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6421, allocations: 3.938 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.6423, allocations: 23.97 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6423, allocations: 7.984 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.6428, allocations: 63.92 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/0.6429, allocations: 63.92 kB / 1.026 GB, free: 9.094 MB / 0.7794 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.0002138/0.6432, allocations: 192.5 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.6432, allocations: 39.47 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.6433, allocations: 39.75 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6433, allocations: 4 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6433, allocations: 4 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.6433, allocations: 3.984 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.6456, allocations: 0.7376 MB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6456, allocations: 8 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.6456, allocations: 4 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6456, allocations: 3.984 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.6457, allocations: 19.97 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6457, allocations: 3.938 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6457, allocations: 0 / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.6475, allocations: 479.7 kB / 1.027 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.6478, allocations: 200.4 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.6478, allocations: 12 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.6484, allocations: 35.95 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.6484, allocations: 7.984 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/0.6485, allocations: 55.98 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002804/0.6487, allocations: 299.1 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6488, allocations: 0 / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003669/0.6491, allocations: 63.98 kB / 1.028 GB, free: 6.809 MB / 0.7794 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.0001359/0.6493, allocations: 122 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.6506, allocations: 447.8 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6506, allocations: 0 / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.6514, allocations: 119.8 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.6518, allocations: 31.52 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.6534, allocations: 0.6692 MB / 1.029 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.6537, allocations: 0.7711 MB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.088e-05/0.6538, allocations: 13.08 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.6538, allocations: 11.44 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6538, allocations: 4 kB / 1.03 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of Templates: time 0.009275/0.6631, allocations: 4.971 MB / 1.035 GB, free: 15.48 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches