Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9252/0.9252, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.249e-06/5.249e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/3.205e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002163/0.002195, allocations: 1.741 MB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.003449, allocations: 0.6129 MB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.00356, allocations: 0 / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.003698, allocations: 11.88 kB / 0.9846 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003846, allocations: 39.72 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.004637, allocations: 373.5 kB / 0.985 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.005154, allocations: 0.597 MB / 0.9855 GB, free: 14.67 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.005436, allocations: 17.3 kB / 0.9856 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.005891, allocations: 419.6 kB / 0.986 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.00615, allocations: 143.7 kB / 0.9861 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.00621, allocations: 40 kB / 0.9861 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.006265, allocations: 40 kB / 0.9862 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.006375, allocations: 131.6 kB / 0.9863 GB, free: 13.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.006499, allocations: 151.7 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.007008, allocations: 0.6428 MB / 0.9871 GB, free: 13.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007012, allocations: 0 / 0.9871 GB, free: 13.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.007014, allocations: 0 / 0.9871 GB, free: 13.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.007025, allocations: 0 / 0.9871 GB, free: 13.11 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00107/0.008095, allocations: 0.8416 MB / 0.9879 GB, free: 12.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.008136, allocations: 16.03 kB / 0.9879 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.008241, allocations: 60.66 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.008573, allocations: 283.9 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.008615, allocations: 20.38 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.008667, allocations: 28.36 kB / 0.9883 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.009274, allocations: 256 kB / 0.9885 GB, free: 11.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.009285, allocations: 4.188 kB / 0.9885 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.009308, allocations: 12.31 kB / 0.9885 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.009314, allocations: 384 / 0.9885 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.009702, allocations: 135.8 kB / 0.9887 GB, free: 11.37 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.01053, allocations: 0.5313 MB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.01108, allocations: 196.4 kB / 0.9894 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.01145, allocations: 120.7 kB / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01147, allocations: 4 kB / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.01203, allocations: 251.1 kB / 0.9897 GB, free: 10.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/0.01203, allocations: 0 / 0.9897 GB, free: 10.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.00136/0.01339, allocations: 0.5285 MB / 0.9902 GB, free: 9.688 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.01344, allocations: 59.41 kB / 0.9903 GB, free: 9.617 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.01378, allocations: 449.8 kB / 0.9907 GB, free: 9.168 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.01383, allocations: 37.7 kB / 0.9908 GB, free: 9.125 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.0139, allocations: 101.4 kB / 0.9909 GB, free: 9.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.01394, allocations: 43.69 kB / 0.9909 GB, free: 8.977 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.01408, allocations: 133.5 kB / 0.991 GB, free: 8.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.01418, allocations: 322.8 kB / 0.9913 GB, free: 8.516 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.01443, allocations: 231.2 kB / 0.9916 GB, free: 8.277 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.01468, allocations: 273.3 kB / 0.9918 GB, free: 7.977 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.01496, allocations: 295.6 kB / 0.9921 GB, free: 7.656 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01497, allocations: 0 / 0.9921 GB, free: 7.656 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007849/0.01575, allocations: 0.6132 MB / 0.9927 GB, free: 7.012 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.01583, allocations: 87.38 kB / 0.9928 GB, free: 6.914 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.01583, allocations: 4 kB / 0.9928 GB, free: 6.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.01585, allocations: 4 kB / 0.9928 GB, free: 6.906 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.01597, allocations: 19.92 kB / 0.9928 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01598, allocations: 4 kB / 0.9928 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.01624, allocations: 72.02 kB / 0.9929 GB, free: 6.812 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.0163, allocations: 59.98 kB / 0.9929 GB, free: 6.754 MB / 0.948 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001982/0.0165, allocations: 220.3 kB / 0.9932 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01654, allocations: 39.7 kB / 0.9932 GB, free: 6.488 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.829e-05/0.0166, allocations: 47.72 kB / 0.9932 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.0166, allocations: 0 / 0.9932 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.0166, allocations: 0 / 0.9932 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.01661, allocations: 0 / 0.9932 GB, free: 6.441 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.01781, allocations: 0.7507 MB / 0.994 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01782, allocations: 0 / 0.994 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.01784, allocations: 4 kB / 0.994 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.01784, allocations: 0 / 0.994 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.01787, allocations: 27.97 kB / 0.994 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01787, allocations: 0 / 0.994 GB, free: 5.621 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01788, allocations: 4 kB / 0.994 GB, free: 5.617 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.01876, allocations: 0.5227 MB / 0.9945 GB, free: 5.078 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.01897, allocations: 173.5 kB / 0.9947 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.01902, allocations: 20 kB / 0.9947 GB, free: 4.887 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.01925, allocations: 39.95 kB / 0.9947 GB, free: 4.848 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.01928, allocations: 7.984 kB / 0.9947 GB, free: 4.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.01933, allocations: 59.98 kB / 0.9948 GB, free: 4.781 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002198/0.01955, allocations: 323.1 kB / 0.9951 GB, free: 4.473 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01955, allocations: 0 / 0.9951 GB, free: 4.473 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002636/0.01982, allocations: 67.95 kB / 0.9952 GB, free: 4.406 MB / 0.948 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001702/0.01999, allocations: 128.3 kB / 0.9953 GB, free: 4.273 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007834/0.02077, allocations: 0.5252 MB / 0.9958 GB, free: 3.711 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.02077, allocations: 4 kB / 0.9958 GB, free: 3.707 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.02115, allocations: 127.1 kB / 0.9959 GB, free: 3.586 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.02145, allocations: 42 kB / 0.996 GB, free: 3.543 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02246, allocations: 0.6611 MB / 0.9966 GB, free: 2.844 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.0226, allocations: 175 kB / 0.9968 GB, free: 2.656 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.02265, allocations: 16.5 kB / 0.9968 GB, free: 2.641 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/0.02265, allocations: 0 / 0.9968 GB, free: 2.641 MB / 0.948 GB Notification: Performance of Templates: time 0.005264/0.02792, allocations: 4.127 MB / 1.001 GB, free: 14.48 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 6.815071388147771]