Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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.001528/0.001528, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001776/0.001776, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.954/2.954, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Time.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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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_11_Buildings.Utilities.Time.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.002182/0.002182, allocations: 73.02 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.305, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002871/0.3078, allocations: 1.529 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3091, allocations: 0.5207 MB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3092, allocations: 4 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.094e-05/0.3093, allocations: 7.875 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.3094, allocations: 27.84 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.3103, allocations: 319.8 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.3109, allocations: 483.5 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3109, allocations: 3.938 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.3114, allocations: 287.6 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.3117, allocations: 131.6 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.3118, allocations: 28 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3119, allocations: 24 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.312, allocations: 115.7 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3122, allocations: 155.3 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.3127, allocations: 434.4 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3127, allocations: 7.984 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3127, allocations: 0 / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.3127, allocations: 0 / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001326/0.3141, allocations: 0.7911 MB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3141, allocations: 8.031 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3142, allocations: 56.66 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.3147, allocations: 260.7 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.3148, allocations: 16.36 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.3148, allocations: 32.36 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009736/0.3158, allocations: 210 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3158, allocations: 192 / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.3159, allocations: 7.938 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3159, allocations: 4 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.3166, allocations: 107.8 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.317, allocations: 285.1 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3181, allocations: 162.5 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.3188, allocations: 104.8 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3188, allocations: 4 kB / 1.29 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009593/0.3198, allocations: 218 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.3198, allocations: 0 / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002536/0.3223, allocations: 493 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3224, allocations: 55.41 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/0.3228, allocations: 417.9 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/0.3229, allocations: 41.7 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.323, allocations: 97.44 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.502e-05/0.3231, allocations: 39.67 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.3233, allocations: 133.4 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3234, allocations: 322.8 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.3238, allocations: 195.3 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3241, allocations: 247.6 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.3245, allocations: 271 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3245, allocations: 0 / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009302/0.3255, allocations: 0.5528 MB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.3256, allocations: 85.34 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3256, allocations: 0 / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3256, allocations: 7.938 kB / 1.293 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3258, allocations: 19.98 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3258, allocations: 12.12 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.3262, allocations: 63.84 kB / 1.293 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.3263, allocations: 59.97 kB / 1.293 GB, free: 2.305 MB / 0.9825 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002494/0.3266, allocations: 187.8 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.3267, allocations: 39.77 kB / 1.293 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.3267, allocations: 43.61 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3267, allocations: 7.938 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3267, allocations: 3.938 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3267, allocations: 0 / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.3289, allocations: 0.6739 MB / 1.294 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.3289, allocations: 3.938 kB / 1.294 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.329, allocations: 15.92 kB / 1.294 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.329, allocations: 0 / 1.294 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.329, allocations: 19.98 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.329, allocations: 0 / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.329, allocations: 3.984 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3308, allocations: 489 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.331, allocations: 129.5 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.3311, allocations: 15.98 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.3316, allocations: 35.95 kB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3316, allocations: 7.984 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.3317, allocations: 55.98 kB / 1.295 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003282/0.332, allocations: 295.1 kB / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.332, allocations: 0 / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003783/0.3324, allocations: 67.98 kB / 1.295 GB, free: 188 kB / 0.9825 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001625/0.3326, allocations: 119.2 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.3339, allocations: 473.6 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3339, allocations: 0 / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.3347, allocations: 116.2 kB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3351, allocations: 36.52 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3366, allocations: 0.5881 MB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.3368, allocations: 163 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.3368, allocations: 15.42 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3368, allocations: 4 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.006829/0.3437, allocations: 3.687 MB / 1.3 GB, free: 10.84 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.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: 11.388435191940516]