Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001963/0.001963, allocations: 112.7 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.001833/0.001833, allocations: 189.9 kB / 22.22 MB, free: 5.105 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.46/1.46, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.204/3.204, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 66.88 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4012, allocations: 174.9 MB / 1.316 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003412/0.4046, allocations: 1.754 MB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4061, allocations: 0.6324 MB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.4061, allocations: 0 / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.4062, allocations: 11.86 kB / 1.318 GB, free: 7.258 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.4064, allocations: 35.72 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008699/0.4073, allocations: 362.6 kB / 1.319 GB, free: 6.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006946/0.4079, allocations: 0.6048 MB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.4081, allocations: 29.02 kB / 1.319 GB, free: 6.234 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.4085, allocations: 319.6 kB / 1.32 GB, free: 5.922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.4088, allocations: 171.4 kB / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.4089, allocations: 40 kB / 1.32 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.409, allocations: 40 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.4092, allocations: 123.6 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.4094, allocations: 215 kB / 1.32 GB, free: 5.344 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.4101, allocations: 0.5995 MB / 1.321 GB, free: 4.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4101, allocations: 0 / 1.321 GB, free: 4.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4101, allocations: 4 kB / 1.321 GB, free: 4.738 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.4101, allocations: 4 kB / 1.321 GB, free: 4.734 MB / 1.014 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.001513/0.4116, allocations: 0.8339 MB / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4116, allocations: 8.031 kB / 1.322 GB, free: 3.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4118, allocations: 56.66 kB / 1.322 GB, free: 3.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.4122, allocations: 288.6 kB / 1.322 GB, free: 3.461 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.4123, allocations: 20.36 kB / 1.322 GB, free: 3.441 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.4124, allocations: 32.36 kB / 1.322 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4134, allocations: 236 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4134, allocations: 4.172 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4134, allocations: 7.938 kB / 1.322 GB, free: 3.164 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4134, allocations: 0 / 1.322 GB, free: 3.164 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.4142, allocations: 119.8 kB / 1.322 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.4156, allocations: 0.6438 MB / 1.323 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4167, allocations: 166.4 kB / 1.323 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007163/0.4174, allocations: 108.8 kB / 1.323 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4174, allocations: 7.984 kB / 1.323 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/0.4184, allocations: 230.3 kB / 1.324 GB, free: 1.836 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.4184, allocations: 0 / 1.324 GB, free: 1.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002498/0.4209, allocations: 0.4933 MB / 1.324 GB, free: 1.336 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4209, allocations: 63.39 kB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.4214, allocations: 445.8 kB / 1.324 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.4215, allocations: 41.69 kB / 1.325 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4216, allocations: 105.3 kB / 1.325 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.4217, allocations: 43.69 kB / 1.325 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.4219, allocations: 133.5 kB / 1.325 GB, free: 492 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4221, allocations: 334.8 kB / 1.325 GB, free: 148 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.4224, allocations: 135.9 kB / 1.325 GB, free: 12 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.4227, allocations: 194.8 kB / 1.325 GB, free: 15.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.4232, allocations: 302.9 kB / 1.326 GB, free: 15.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4232, allocations: 4 kB / 1.326 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009176/0.4241, allocations: 0.5164 MB / 1.326 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.4242, allocations: 99.38 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4242, allocations: 0 / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4242, allocations: 4 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4244, allocations: 27.91 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4244, allocations: 4 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.4249, allocations: 59.78 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/0.425, allocations: 59.98 kB / 1.326 GB, free: 14.67 MB / 1.029 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.0002786/0.4252, allocations: 224.3 kB / 1.327 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.4253, allocations: 39.75 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.456e-05/0.4254, allocations: 47.73 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4254, allocations: 0 / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4254, allocations: 0 / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4254, allocations: 3.984 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.4276, allocations: 0.759 MB / 1.328 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4276, allocations: 4 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.4276, allocations: 0 / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4276, allocations: 7.984 kB / 1.328 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.4277, allocations: 15.98 kB / 1.328 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.4277, allocations: 7.938 kB / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4277, allocations: 0 / 1.328 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4293, allocations: 485.6 kB / 1.328 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.4296, allocations: 181.5 kB / 1.328 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.4297, allocations: 19.98 kB / 1.328 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.4302, allocations: 35.91 kB / 1.328 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.4302, allocations: 7.984 kB / 1.328 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.4303, allocations: 59.97 kB / 1.328 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003642/0.4306, allocations: 315.1 kB / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003893/0.431, allocations: 79.86 kB / 1.329 GB, free: 12.34 MB / 1.029 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.0002219/0.4312, allocations: 128.4 kB / 1.329 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.4326, allocations: 434.5 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4326, allocations: 4.312 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.4333, allocations: 115.9 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4337, allocations: 41.14 kB / 1.329 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4353, allocations: 0.6056 MB / 1.33 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.4358, allocations: 0.7941 MB / 1.331 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.4358, allocations: 17.41 kB / 1.331 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.4359, allocations: 11.44 kB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 6.42e-07/0.4359, allocations: 4 kB / 1.331 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Templates: time 0.01066/0.4465, allocations: 5.509 MB / 1.336 GB, free: 4.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.079130018129945]