Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 225.6 MB / 249.4 MB, free: 3.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.059 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.362, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003037/0.365, allocations: 1.741 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3664, allocations: 0.6373 MB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.3665, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3666, allocations: 15.81 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.3667, allocations: 35.56 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.3676, allocations: 371 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.3683, allocations: 0.5931 MB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3684, allocations: 25.09 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004328/0.3688, allocations: 319.5 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.3691, allocations: 157.5 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3692, allocations: 40 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.3693, allocations: 40 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3695, allocations: 123.6 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.3698, allocations: 223 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.3704, allocations: 0.6034 MB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3704, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3704, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3704, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 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.001484/0.3719, allocations: 0.917 MB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.372, allocations: 8.031 kB / 1.222 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3721, allocations: 56.66 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.3725, allocations: 338.5 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.3726, allocations: 24.36 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.3726, allocations: 32.36 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.3736, allocations: 235.9 kB / 1.223 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3736, allocations: 192 / 1.223 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.3737, allocations: 11.94 kB / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3737, allocations: 0 / 1.223 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.3744, allocations: 119.9 kB / 1.223 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.3757, allocations: 0.6759 MB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.3767, allocations: 166.5 kB / 1.223 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.3774, allocations: 108.8 kB / 1.224 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3774, allocations: 4 kB / 1.224 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000929/0.3784, allocations: 231.2 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3784, allocations: 0 / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002426/0.3808, allocations: 497.2 kB / 1.224 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3808, allocations: 59.41 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.3814, allocations: 441.9 kB / 1.225 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.3814, allocations: 45.69 kB / 1.225 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.3815, allocations: 105.3 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.715e-05/0.3816, allocations: 55.61 kB / 1.225 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.3818, allocations: 129.5 kB / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3819, allocations: 330.8 kB / 1.225 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3822, allocations: 139.9 kB / 1.225 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.3826, allocations: 190.9 kB / 1.226 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.383, allocations: 295.5 kB / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.383, allocations: 0 / 1.226 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009014/0.3839, allocations: 0.5202 MB / 1.226 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.384, allocations: 95.38 kB / 1.227 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.384, allocations: 0 / 1.227 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.384, allocations: 11.92 kB / 1.227 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3842, allocations: 15.98 kB / 1.227 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3842, allocations: 4 kB / 1.227 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.3847, allocations: 67.98 kB / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/0.3847, allocations: 63.92 kB / 1.227 GB, free: 4.129 MB / 0.9669 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.0003012/0.3851, allocations: 223.2 kB / 1.227 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.3851, allocations: 35.77 kB / 1.227 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.826e-05/0.3852, allocations: 43.8 kB / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3852, allocations: 0 / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3852, allocations: 0 / 1.227 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3852, allocations: 7.984 kB / 1.227 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.3873, allocations: 0.785 MB / 1.228 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3873, allocations: 7.984 kB / 1.228 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.3874, allocations: 8 kB / 1.228 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.3874, allocations: 8 kB / 1.228 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3874, allocations: 15.97 kB / 1.228 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.3874, allocations: 11.88 kB / 1.228 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3874, allocations: 0 / 1.228 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3891, allocations: 479.5 kB / 1.228 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.3894, allocations: 244.7 kB / 1.229 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.3895, allocations: 16 kB / 1.229 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.3899, allocations: 35.89 kB / 1.229 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.39, allocations: 11.98 kB / 1.229 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.39, allocations: 51.98 kB / 1.229 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003605/0.3904, allocations: 327.1 kB / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3904, allocations: 0 / 1.229 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003633/0.3908, allocations: 67.95 kB / 1.229 GB, free: 1.688 MB / 0.9669 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.0002027/0.391, allocations: 131.9 kB / 1.229 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.3922, allocations: 444.2 kB / 1.23 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3922, allocations: 0 / 1.23 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.393, allocations: 115.9 kB / 1.23 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3933, allocations: 41.41 kB / 1.23 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3949, allocations: 0.6229 MB / 1.23 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.3953, allocations: 0.7864 MB / 1.231 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.689e-05/0.3954, allocations: 13.42 kB / 1.231 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.3955, allocations: 19.42 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of SimCode: time 4.8e-07/0.3955, allocations: 4 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.01038/0.4058, allocations: 5.473 MB / 1.236 GB, free: 9.863 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.748079678975046]