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.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.001809/0.001809, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002422/0.002422, allocations: 163.4 kB / 23.01 MB, free: 4.594 MB / 14.72 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 1.493/1.493, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.962/2.962, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 67.89 kB / 1.009 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.989/0.9914, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003128/0.9946, allocations: 1.734 MB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.9959, allocations: 0.6085 MB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.996, allocations: 0 / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.9961, allocations: 10.36 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.9963, allocations: 40.23 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.9972, allocations: 375.8 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007392/0.998, allocations: 0.6101 MB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.9981, allocations: 21.62 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.9986, allocations: 322.9 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.9989, allocations: 143.3 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.999, allocations: 40.62 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.9992, allocations: 40.88 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.9993, allocations: 127.7 kB / 1.191 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.9995, allocations: 174.3 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007319/1, allocations: 0.6003 MB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1, allocations: 4.656 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1, allocations: 0 / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.206e-06/1, allocations: 1.125 kB / 1.191 GB, free: 13.5 MB / 1.076 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.001258/1.002, allocations: 0.8401 MB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/1.002, allocations: 10.06 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.002, allocations: 58.17 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/1.002, allocations: 279.1 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/1.002, allocations: 24.45 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/1.002, allocations: 27.56 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/1.003, allocations: 257.1 kB / 1.193 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.003, allocations: 192 / 1.193 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/1.003, allocations: 9.828 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.003, allocations: 2 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008116/1.004, allocations: 127.2 kB / 1.193 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/1.006, allocations: 0.545 MB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.007, allocations: 187.3 kB / 1.194 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000765/1.007, allocations: 127 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.007, allocations: 3.141 kB / 1.194 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/1.008, allocations: 237.6 kB / 1.194 GB, free: 11.96 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/1.008, allocations: 1.219 kB / 1.194 GB, free: 11.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002728/1.011, allocations: 0.5409 MB / 1.195 GB, free: 11.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.011, allocations: 59.3 kB / 1.195 GB, free: 11.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/1.012, allocations: 439.7 kB / 1.195 GB, free: 11.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/1.012, allocations: 45.02 kB / 1.195 GB, free: 11.51 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/1.012, allocations: 104.7 kB / 1.195 GB, free: 11.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/1.012, allocations: 38.17 kB / 1.195 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/1.012, allocations: 139.8 kB / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/1.012, allocations: 330 kB / 1.196 GB, free: 11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/1.013, allocations: 222.3 kB / 1.196 GB, free: 10.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.013, allocations: 272.9 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/1.013, allocations: 306 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.013, allocations: 4.969 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009319/1.014, allocations: 0.6001 MB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.957e-05/1.014, allocations: 88.36 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.014, allocations: 2 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.014, allocations: 3.797 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/1.015, allocations: 30.88 kB / 1.197 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.015, allocations: 3.234 kB / 1.197 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/1.015, allocations: 62.53 kB / 1.197 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.015, allocations: 58 kB / 1.197 GB, free: 10.06 MB / 1.076 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.0002735/1.015, allocations: 231 kB / 1.197 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/1.015, allocations: 38.12 kB / 1.197 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/1.016, allocations: 47.23 kB / 1.198 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.016, allocations: 1.031 kB / 1.198 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.016, allocations: 1.062 kB / 1.198 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.016, allocations: 1.453 kB / 1.198 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.018, allocations: 0.7439 MB / 1.198 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.018, allocations: 9 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/1.018, allocations: 4.625 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.018, allocations: 1.562 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/1.018, allocations: 20.47 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.018, allocations: 1.031 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.018, allocations: 0 / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.02, allocations: 0.5227 MB / 1.199 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.02, allocations: 177.5 kB / 1.199 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/1.02, allocations: 17.56 kB / 1.199 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/1.021, allocations: 35.34 kB / 1.199 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/1.021, allocations: 15.95 kB / 1.199 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/1.021, allocations: 56.97 kB / 1.199 GB, free: 9.176 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003419/1.021, allocations: 320.6 kB / 1.199 GB, free: 9.023 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.021, allocations: 4 kB / 1.199 GB, free: 9.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004071/1.021, allocations: 71.97 kB / 1.199 GB, free: 9.012 MB / 1.076 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.0001525/1.022, allocations: 126.3 kB / 1.2 GB, free: 8.906 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.023, allocations: 0.5208 MB / 1.2 GB, free: 8.609 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.023, allocations: 384 / 1.2 GB, free: 8.609 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/1.024, allocations: 136.5 kB / 1.2 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/1.024, allocations: 38.14 kB / 1.2 GB, free: 8.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/1.026, allocations: 0.6146 MB / 1.201 GB, free: 8.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/1.026, allocations: 183.9 kB / 1.201 GB, free: 8.137 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.357e-05/1.026, allocations: 14.61 kB / 1.201 GB, free: 8.133 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/1.026, allocations: 20.92 kB / 1.201 GB, free: 8.117 MB / 1.076 GB Notification: Performance of SimCode: time 7.12e-07/1.026, allocations: 1.219 kB / 1.201 GB, free: 8.117 MB / 1.076 GB Notification: Performance of Templates: time 0.01194/1.038, allocations: 6.557 MB / 1.207 GB, free: 6.797 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.26082080299966]