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.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.577/2.577, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.91 kB / 0.8692 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7787, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002842/0.7816, allocations: 1.527 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.7829, allocations: 0.536 MB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.783, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.7832, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.7833, allocations: 31.78 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.7842, allocations: 312.5 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.7847, allocations: 0.5033 MB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.7847, allocations: 8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.7851, allocations: 271.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.7853, allocations: 139.6 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.7854, allocations: 28 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.7855, allocations: 24 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7856, allocations: 115.7 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.7858, allocations: 187 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.7862, allocations: 416.9 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7862, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7862, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.7863, allocations: 0 / 1.021 GB, free: 14.64 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.001132/0.7874, allocations: 0.8781 MB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7874, allocations: 8.031 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.7876, allocations: 52.45 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.7879, allocations: 322.1 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.788, allocations: 16.38 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.7881, allocations: 24.36 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.789, allocations: 217.2 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.789, allocations: 4.188 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.7891, allocations: 7.938 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7891, allocations: 0 / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.7899, allocations: 95.92 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.7903, allocations: 389.2 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7914, allocations: 182.4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.7921, allocations: 109.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.7922, allocations: 8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009506/0.7931, allocations: 219.2 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.7931, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00256/0.7957, allocations: 490.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.7958, allocations: 63.33 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.7961, allocations: 417.8 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.7962, allocations: 41.69 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.7963, allocations: 93.45 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.7964, allocations: 39.48 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.7965, allocations: 129.3 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7967, allocations: 326.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.7969, allocations: 123.9 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.7972, allocations: 165.9 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.7976, allocations: 282.8 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7976, allocations: 0 / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008224/0.7984, allocations: 0.4944 MB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.7985, allocations: 91.31 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7985, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7986, allocations: 4 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.7987, allocations: 23.92 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7987, allocations: 4.188 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.7992, allocations: 63.78 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.7993, allocations: 59.98 kB / 1.026 GB, free: 8.941 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.0002216/0.7996, allocations: 192 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.7996, allocations: 43.45 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.7997, allocations: 47.69 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7997, allocations: 0 / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7997, allocations: 0 / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.7997, allocations: 7.984 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.802, allocations: 0.748 MB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.802, allocations: 0 / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.802, allocations: 4 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8021, allocations: 0 / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.8021, allocations: 19.97 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.8021, allocations: 4 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8021, allocations: 0 / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8038, allocations: 479.5 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.8041, allocations: 200.5 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/0.8042, allocations: 8 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.8047, allocations: 35.97 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.8047, allocations: 7.984 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.8048, allocations: 59.97 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002638/0.805, allocations: 291.1 kB / 1.029 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8051, allocations: 4 kB / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003679/0.8054, allocations: 67.98 kB / 1.029 GB, free: 6.652 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.0001574/0.8056, allocations: 108.5 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.807, allocations: 459.1 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.807, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.8078, allocations: 116.2 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.8082, allocations: 39.48 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.8096, allocations: 0.5475 MB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.81, allocations: 0.7669 MB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.8101, allocations: 17.08 kB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.8101, allocations: 23.31 kB / 1.031 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8101, allocations: 0 / 1.031 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of Templates: time 0.009514/0.8197, allocations: 4.973 MB / 1.035 GB, free: 15.44 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