Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001783/0.001783, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001874/0.001874, allocations: 189 kB / 22.22 MB, free: 5.102 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.507/1.507, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.CalendarTimeMonthsPlus,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.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003368/0.003368, allocations: 71.88 kB / 1.062 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9788/0.9822, allocations: 160.8 MB / 1.219 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003892/0.986, allocations: 1.75 MB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.9877, allocations: 0.6321 MB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.9878, allocations: 5.125 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.9879, allocations: 11.86 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.9881, allocations: 39.84 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.9896, allocations: 373.2 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.9908, allocations: 0.5978 MB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.9909, allocations: 20.97 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006753/0.9916, allocations: 315.9 kB / 1.222 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.992, allocations: 171.7 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.9921, allocations: 41.59 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.9923, allocations: 40.97 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.9925, allocations: 123.5 kB / 1.223 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.9928, allocations: 218 kB / 1.223 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.9939, allocations: 0.5954 MB / 1.223 GB, free: 232 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9939, allocations: 5.281 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9939, allocations: 0 / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9939, allocations: 3.938 kB / 1.223 GB, free: 224 kB / 0.92 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.002088/0.996, allocations: 0.9256 MB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.996, allocations: 9.406 kB / 1.224 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.9962, allocations: 56.22 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.9969, allocations: 336.2 kB / 1.225 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.9969, allocations: 28.55 kB / 1.225 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.973e-05/0.997, allocations: 27.78 kB / 1.225 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.9981, allocations: 244.4 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9981, allocations: 192 / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.9982, allocations: 5.031 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9982, allocations: 2.625 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.9989, allocations: 114.9 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/1.001, allocations: 0.679 MB / 1.226 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/1.002, allocations: 170.7 kB / 1.226 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/1.002, allocations: 108.9 kB / 1.226 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/1.002, allocations: 5.781 kB / 1.226 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/1.003, allocations: 229.8 kB / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/1.003, allocations: 0 / 1.226 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.00271/1.006, allocations: 497.8 kB / 1.227 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.006, allocations: 64.69 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/1.007, allocations: 444.4 kB / 1.227 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.007, allocations: 41.91 kB / 1.227 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.007, allocations: 101.5 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/1.007, allocations: 42.34 kB / 1.227 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.007, allocations: 135.9 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.008, allocations: 329.4 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/1.008, allocations: 139.5 kB / 1.228 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/1.008, allocations: 196.4 kB / 1.228 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004608/1.009, allocations: 307 kB / 1.228 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.009, allocations: 0 / 1.228 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009813/1.01, allocations: 0.5153 MB / 1.229 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.01, allocations: 92.81 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.01, allocations: 6.969 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/1.01, allocations: 2.5 kB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/1.01, allocations: 29.84 kB / 1.229 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.01, allocations: 2.594 kB / 1.229 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/1.01, allocations: 58.52 kB / 1.229 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/1.011, allocations: 56.23 kB / 1.229 GB, free: 11.97 MB / 0.9356 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.0003862/1.011, allocations: 234.1 kB / 1.229 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/1.011, allocations: 45.34 kB / 1.229 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/1.011, allocations: 39.61 kB / 1.229 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.011, allocations: 2.344 kB / 1.229 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.011, allocations: 3.938 kB / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.011, allocations: 0 / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/1.013, allocations: 0.794 MB / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.013, allocations: 0 / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/1.014, allocations: 7.984 kB / 1.23 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.014, allocations: 0 / 1.23 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/1.014, allocations: 15.98 kB / 1.23 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.014, allocations: 7.938 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.014, allocations: 4 kB / 1.23 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.015, allocations: 485.1 kB / 1.231 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/1.016, allocations: 248.6 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/1.016, allocations: 16 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/1.016, allocations: 35.91 kB / 1.231 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.016, allocations: 7.984 kB / 1.231 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/1.016, allocations: 55.97 kB / 1.231 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004009/1.017, allocations: 323.1 kB / 1.231 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 1.231 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000493/1.017, allocations: 71.95 kB / 1.231 GB, free: 9.645 MB / 0.9356 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.0002233/1.018, allocations: 127.2 kB / 1.232 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001358/1.019, allocations: 441.1 kB / 1.232 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.019, allocations: 0 / 1.232 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/1.02, allocations: 116.2 kB / 1.232 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/1.02, allocations: 51.88 kB / 1.232 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/1.022, allocations: 0.6017 MB / 1.233 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/1.022, allocations: 0.7825 MB / 1.233 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.226e-05/1.022, allocations: 17.42 kB / 1.233 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/1.022, allocations: 19.42 kB / 1.233 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of SimCode: time 1.623e-06/1.022, allocations: 0 / 1.233 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of Templates: time 0.01229/1.035, allocations: 5.512 MB / 1.239 GB, free: 1.805 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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: 9.412475255317986]