Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001843/0.001843, allocations: 102.7 kB / 16.45 MB, free: 6.504 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.002109/0.002109, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.19/3.19, allocations: 497.2 MB / 0.7811 GB, free: 33.7 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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.2 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3695, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003345/0.3729, allocations: 1.518 MB / 1.305 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3744, allocations: 0.55 MB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.3745, allocations: 4 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.3746, allocations: 7.875 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3747, allocations: 27.84 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.3755, allocations: 311 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005827/0.3761, allocations: 495.3 kB / 1.307 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.3762, allocations: 8 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.3766, allocations: 275.6 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3768, allocations: 149.7 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.3769, allocations: 24 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.377, allocations: 28 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3771, allocations: 119.6 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3773, allocations: 187.1 kB / 1.308 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.3778, allocations: 418.7 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3778, allocations: 4 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3778, allocations: 3.938 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.3778, allocations: 0 / 1.308 GB, free: 13.48 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001443/0.3793, allocations: 0.8781 MB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.3793, allocations: 12.92 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.703e-05/0.3794, allocations: 38.73 kB / 1.309 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3795, allocations: 56.66 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.38, allocations: 310.5 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.3801, allocations: 20.38 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.3802, allocations: 32.36 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009161/0.3811, allocations: 210 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3811, allocations: 7.875 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.3811, allocations: 0 / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3811, allocations: 0 / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.3818, allocations: 103.9 kB / 1.31 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.3823, allocations: 381.3 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.3832, allocations: 170.5 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.3839, allocations: 96.78 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.3839, allocations: 4 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009214/0.3849, allocations: 237.4 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3849, allocations: 0 / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002344/0.3872, allocations: 485.1 kB / 1.311 GB, free: 10.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.3873, allocations: 59.41 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.3877, allocations: 413.9 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.3878, allocations: 41.69 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.3879, allocations: 97.44 kB / 1.311 GB, free: 9.629 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3879, allocations: 39.67 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.3881, allocations: 133.4 kB / 1.312 GB, free: 9.453 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.3884, allocations: 322.8 kB / 1.312 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.3886, allocations: 115.9 kB / 1.312 GB, free: 9.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3889, allocations: 174.9 kB / 1.312 GB, free: 8.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.3893, allocations: 272.1 kB / 1.312 GB, free: 8.527 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3893, allocations: 3.938 kB / 1.312 GB, free: 8.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008422/0.3902, allocations: 496.7 kB / 1.313 GB, free: 8.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.3903, allocations: 91.31 kB / 1.313 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3903, allocations: 0 / 1.313 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3903, allocations: 7.984 kB / 1.313 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3905, allocations: 23.92 kB / 1.313 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3905, allocations: 0 / 1.313 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.3909, allocations: 59.97 kB / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.391, allocations: 63.98 kB / 1.313 GB, free: 7.766 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.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.0002336/0.3912, allocations: 199.9 kB / 1.313 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.3913, allocations: 43.69 kB / 1.313 GB, free: 7.516 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.3914, allocations: 39.75 kB / 1.313 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3914, allocations: 0 / 1.313 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3914, allocations: 4 kB / 1.313 GB, free: 7.477 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3914, allocations: 7.922 kB / 1.313 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.3935, allocations: 0.7389 MB / 1.314 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3935, allocations: 0 / 1.314 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.3935, allocations: 7.938 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3935, allocations: 4 kB / 1.314 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.3936, allocations: 23.97 kB / 1.314 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3936, allocations: 4 kB / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3936, allocations: 0 / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.3952, allocations: 479.4 kB / 1.315 GB, free: 6.148 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.3955, allocations: 200.7 kB / 1.315 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.3956, allocations: 8 kB / 1.315 GB, free: 5.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.396, allocations: 31.95 kB / 1.315 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.396, allocations: 11.98 kB / 1.315 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.3961, allocations: 55.98 kB / 1.315 GB, free: 5.828 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003115/0.3964, allocations: 295.1 kB / 1.315 GB, free: 5.539 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3964, allocations: 0 / 1.315 GB, free: 5.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003583/0.3968, allocations: 71.92 kB / 1.315 GB, free: 5.469 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.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.00201/0.3988, allocations: 1.019 MB / 1.316 GB, free: 4.422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.4, allocations: 406.5 kB / 1.317 GB, free: 4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4, allocations: 0 / 1.317 GB, free: 4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.4007, allocations: 116.2 kB / 1.317 GB, free: 3.887 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4011, allocations: 38.67 kB / 1.317 GB, free: 3.852 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.4054, allocations: 2.795 MB / 1.32 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.4058, allocations: 0.7747 MB / 1.32 GB, free: 128 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.094e-05/0.4059, allocations: 17.02 kB / 1.32 GB, free: 108 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.406, allocations: 19.44 kB / 1.32 GB, free: 88 kB / 1.014 GB Notification: Performance of SimCode: time 6.22e-07/0.406, allocations: 3.938 kB / 1.32 GB, free: 84 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.4371, allocations: 6.138 MB / 1.326 GB, free: 9.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.661, allocations: 12.86 kB / 1.326 GB, free: 9.941 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.423205251805484]