Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001148/0.001148, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001362/0.001362, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9297/0.9297, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.804/1.804, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.991e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00194/0.00196, allocations: 1.517 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002994, allocations: 0.5311 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.003043, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.838e-05/0.003131, allocations: 11.86 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.003233, allocations: 27.64 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.003812, allocations: 321.7 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.004184, allocations: 491.4 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.004227, allocations: 3.984 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.004557, allocations: 363.6 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.00475, allocations: 123.8 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.004798, allocations: 28 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.004845, allocations: 24 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.004951, allocations: 119.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.005052, allocations: 131.7 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.005368, allocations: 462.7 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005371, allocations: 4 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.011e-06/0.005372, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.005379, allocations: 4 kB / 1.004 GB, free: 9.41 MB / 0.9636 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.0008144/0.006193, allocations: 0.795 MB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.006234, allocations: 12.75 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.006272, allocations: 42.73 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.006348, allocations: 60.59 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.006609, allocations: 252.1 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.006643, allocations: 12.38 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.006688, allocations: 28.36 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.007212, allocations: 240.8 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.00722, allocations: 192 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.007238, allocations: 384 / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.007244, allocations: 4.125 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.007607, allocations: 115.9 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.007877, allocations: 304.5 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.008386, allocations: 186.4 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.008734, allocations: 116.8 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.008757, allocations: 8 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.009248, allocations: 239.1 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.00925, allocations: 3.938 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0013/0.01055, allocations: 0.5205 MB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.01059, allocations: 63.39 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.01088, allocations: 413.9 kB / 1.007 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.01092, allocations: 37.7 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.01098, allocations: 97.44 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.01101, allocations: 43.73 kB / 1.007 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01113, allocations: 133.4 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.01121, allocations: 322.8 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.01141, allocations: 191.3 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.01162, allocations: 245.3 kB / 1.008 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.01187, allocations: 267.4 kB / 1.008 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01187, allocations: 7.938 kB / 1.008 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005359/0.01241, allocations: 0.5629 MB / 1.009 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.01246, allocations: 79.38 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01246, allocations: 4 kB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01248, allocations: 7.938 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.01257, allocations: 19.92 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01258, allocations: 4 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.01283, allocations: 71.97 kB / 1.009 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.01289, allocations: 67.97 kB / 1.009 GB, free: 3.562 MB / 0.9636 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.0001605/0.01305, allocations: 187.7 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.01309, allocations: 43.75 kB / 1.009 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.01314, allocations: 43.67 kB / 1.009 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.01314, allocations: 3.938 kB / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01315, allocations: 4 kB / 1.009 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01315, allocations: 0 / 1.009 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.01436, allocations: 0.7318 MB / 1.01 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01437, allocations: 3.938 kB / 1.01 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.01439, allocations: 4 kB / 1.01 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01439, allocations: 8 kB / 1.01 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.01442, allocations: 27.97 kB / 1.01 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01442, allocations: 3.984 kB / 1.01 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01442, allocations: 0 / 1.01 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008553/0.01528, allocations: 0.4995 MB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.01544, allocations: 133.5 kB / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.01548, allocations: 15.98 kB / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.0157, allocations: 35.97 kB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.01573, allocations: 11.92 kB / 1.011 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.01577, allocations: 59.97 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001852/0.01596, allocations: 299 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01596, allocations: 0 / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002233/0.01618, allocations: 67.94 kB / 1.011 GB, free: 1.32 MB / 0.9636 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.001091/0.01727, allocations: 1.061 MB / 1.012 GB, free: 240 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007006/0.01797, allocations: 492.3 kB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01797, allocations: 0 / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.01833, allocations: 131.8 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01857, allocations: 23.36 kB / 1.013 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.02122, allocations: 3.118 MB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02133, allocations: 167.4 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.02137, allocations: 17.14 kB / 1.016 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.02142, allocations: 20.48 kB / 1.016 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of SimCode: time 7.12e-07/0.02142, allocations: 0 / 1.016 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.03956, allocations: 7.941 MB / 1.024 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.695, allocations: 0 / 1.024 GB, free: 4.176 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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: 11.867340119555593]