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.001282/0.001282, allocations: 107 kB / 16.45 MB, free: 6.512 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.001359/0.001359, allocations: 195.6 kB / 19.41 MB, free: 3.664 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.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.247/3.247, allocations: 497.2 MB / 0.7811 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 70.08 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3621, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003961/0.366, allocations: 1.74 MB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3679, allocations: 0.6323 MB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.368, allocations: 0 / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.3682, allocations: 15.8 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3684, allocations: 35.78 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3697, allocations: 363 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.3706, allocations: 0.597 MB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3707, allocations: 33.12 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.3714, allocations: 315.5 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.3719, allocations: 155.6 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.372, allocations: 44 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3721, allocations: 40 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3723, allocations: 127.6 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.3726, allocations: 219 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.3735, allocations: 0.5917 MB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3735, allocations: 0 / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.195e-06/0.3735, allocations: 4 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3735, allocations: 0 / 1.309 GB, free: 12.62 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.001587/0.3751, allocations: 0.9209 MB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3751, allocations: 12.56 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.43e-05/0.3752, allocations: 42.73 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3753, allocations: 52.7 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.3758, allocations: 334.6 kB / 1.31 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.3759, allocations: 24.3 kB / 1.31 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.376, allocations: 36.36 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.377, allocations: 227.2 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.377, allocations: 7.938 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.377, allocations: 4 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.377, allocations: 3.938 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.3778, allocations: 123.9 kB / 1.311 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3792, allocations: 0.672 MB / 1.311 GB, free: 9.984 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009845/0.3802, allocations: 170.5 kB / 1.311 GB, free: 9.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/0.3809, allocations: 100.8 kB / 1.311 GB, free: 9.707 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.381, allocations: 7.984 kB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009805/0.3819, allocations: 227.2 kB / 1.312 GB, free: 9.465 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.3819, allocations: 0 / 1.312 GB, free: 9.465 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002408/0.3844, allocations: 0.4955 MB / 1.312 GB, free: 8.965 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3844, allocations: 63.41 kB / 1.312 GB, free: 8.891 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.3849, allocations: 437.9 kB / 1.313 GB, free: 8.449 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.385, allocations: 45.69 kB / 1.313 GB, free: 8.398 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.3851, allocations: 105.4 kB / 1.313 GB, free: 8.293 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.3851, allocations: 51.62 kB / 1.313 GB, free: 8.242 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3853, allocations: 137.4 kB / 1.313 GB, free: 8.102 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3855, allocations: 322.8 kB / 1.313 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3858, allocations: 139.9 kB / 1.313 GB, free: 7.641 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.3861, allocations: 190.9 kB / 1.314 GB, free: 7.434 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.3865, allocations: 299 kB / 1.314 GB, free: 7.109 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3865, allocations: 0 / 1.314 GB, free: 7.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008872/0.3874, allocations: 0.5163 MB / 1.314 GB, free: 6.574 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3875, allocations: 99.38 kB / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3875, allocations: 0 / 1.314 GB, free: 6.465 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3876, allocations: 4 kB / 1.314 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3877, allocations: 23.97 kB / 1.314 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3877, allocations: 3.938 kB / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.3882, allocations: 64.03 kB / 1.315 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3883, allocations: 63.92 kB / 1.315 GB, free: 6.309 MB / 1.014 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.0002641/0.3886, allocations: 216.4 kB / 1.315 GB, free: 6.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3886, allocations: 43.72 kB / 1.315 GB, free: 6.047 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.3887, allocations: 35.8 kB / 1.315 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3887, allocations: 0 / 1.315 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3887, allocations: 3.938 kB / 1.315 GB, free: 6.012 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3887, allocations: 11.98 kB / 1.315 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.3909, allocations: 0.7795 MB / 1.316 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3909, allocations: 0 / 1.316 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.391, allocations: 11.92 kB / 1.316 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.391, allocations: 4 kB / 1.316 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.846e-05/0.391, allocations: 23.92 kB / 1.316 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.391, allocations: 3.984 kB / 1.316 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.391, allocations: 0 / 1.316 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.3927, allocations: 481.8 kB / 1.316 GB, free: 4.633 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.3931, allocations: 248.6 kB / 1.316 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.788e-05/0.3932, allocations: 23.94 kB / 1.316 GB, free: 4.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.3936, allocations: 31.95 kB / 1.316 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.3937, allocations: 8 kB / 1.316 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.3937, allocations: 55.97 kB / 1.317 GB, free: 4.254 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003914/0.3941, allocations: 327.1 kB / 1.317 GB, free: 3.934 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3941, allocations: 0 / 1.317 GB, free: 3.934 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003824/0.3945, allocations: 64 kB / 1.317 GB, free: 3.871 MB / 1.014 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.002123/0.3966, allocations: 1.045 MB / 1.318 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.398, allocations: 442.7 kB / 1.318 GB, free: 2.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.398, allocations: 8 kB / 1.318 GB, free: 2.332 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/0.3987, allocations: 121.8 kB / 1.318 GB, free: 2.215 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3992, allocations: 41.48 kB / 1.319 GB, free: 2.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005057/0.4042, allocations: 3.008 MB / 1.321 GB, free: 15.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4047, allocations: 0.7942 MB / 1.322 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.4048, allocations: 17.52 kB / 1.322 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.4049, allocations: 39.42 kB / 1.322 GB, free: 14.16 MB / 1.029 GB Notification: Performance of SimCode: time 8.61e-07/0.4049, allocations: 0 / 1.322 GB, free: 14.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.4389, allocations: 6.743 MB / 1.329 GB, free: 7.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.657, allocations: 3 kB / 1.329 GB, free: 7.473 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] 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_2/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: 15.536955018993467]