Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0008447/0.0008447, 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.0008125/0.0008125, 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.9238/0.9238, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.816/1.816, allocations: 389 MB / 0.633 GB, free: 12.71 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.369e-06/4.369e-06, allocations: 4 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.501e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00281/0.002835, allocations: 1.514 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004227, allocations: 0.529 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.0043, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.004405, allocations: 11.86 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.004543, allocations: 35.56 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.0056, allocations: 313.9 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.006229, allocations: 487.4 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.006283, allocations: 11.92 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.006825, allocations: 355.6 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.007061, allocations: 127.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.00711, allocations: 24 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.007147, allocations: 28 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.00724, allocations: 119.7 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.00734, allocations: 131.7 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.007659, allocations: 458.7 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.007664, allocations: 7.984 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.007665, allocations: 0 / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.007672, allocations: 0 / 1.004 GB, free: 9.445 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.0008372/0.008509, allocations: 0.7989 MB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.008544, allocations: 8.75 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.008582, allocations: 46.73 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.008659, allocations: 56.66 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.008913, allocations: 260 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.008943, allocations: 8.375 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.008988, allocations: 32.36 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.009501, allocations: 226 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009509, allocations: 4.125 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.009527, allocations: 4.375 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.009532, allocations: 4.125 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.009899, allocations: 115.9 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.01016, allocations: 308.5 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.01067, allocations: 178.5 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.01101, allocations: 120.8 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01103, allocations: 0 / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.01152, allocations: 243.1 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01152, allocations: 7.938 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001252/0.01277, allocations: 0.5192 MB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.01281, allocations: 67.39 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.01307, allocations: 413.9 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.0131, allocations: 37.7 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.01315, allocations: 97.44 kB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.01318, allocations: 35.73 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.01332, allocations: 133.4 kB / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.01339, allocations: 318.8 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.01359, allocations: 199.2 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01379, allocations: 249.2 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.01401, allocations: 271.7 kB / 1.008 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01401, allocations: 0 / 1.008 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005057/0.01452, allocations: 0.5664 MB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/0.0146, allocations: 79.38 kB / 1.009 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01461, allocations: 4.188 kB / 1.009 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01462, allocations: 7.938 kB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.01473, allocations: 23.92 kB / 1.009 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01473, allocations: 4 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.01497, allocations: 63.84 kB / 1.009 GB, free: 3.66 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.01502, allocations: 63.97 kB / 1.009 GB, free: 3.598 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.0001385/0.01516, allocations: 195.7 kB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.01519, allocations: 35.77 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.01524, allocations: 43.67 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01524, allocations: 7.938 kB / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01525, allocations: 0 / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01525, allocations: 0 / 1.009 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.01636, allocations: 0.7319 MB / 1.01 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01636, allocations: 3.938 kB / 1.01 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.01638, allocations: 11.88 kB / 1.01 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01638, allocations: 0 / 1.01 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.01641, allocations: 31.97 kB / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.01641, allocations: 3.984 kB / 1.01 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01641, allocations: 0 / 1.01 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.01723, allocations: 0.506 MB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.01738, allocations: 129.5 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.01742, allocations: 11.98 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.01764, allocations: 39.97 kB / 1.011 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.01766, allocations: 7.984 kB / 1.011 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.0177, allocations: 59.97 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001788/0.01788, allocations: 295.1 kB / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01788, allocations: 0 / 1.011 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002396/0.01812, allocations: 75.92 kB / 1.011 GB, free: 1.352 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.001034/0.01915, allocations: 1.052 MB / 1.012 GB, free: 280 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007583/0.01991, allocations: 493.8 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01991, allocations: 0 / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.02026, allocations: 132.2 kB / 1.013 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.0205, allocations: 27.61 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.02302, allocations: 3.112 MB / 1.016 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02313, allocations: 171.3 kB / 1.016 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.02318, allocations: 17.12 kB / 1.016 GB, free: 12.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.02322, allocations: 24.48 kB / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.02322, allocations: 0 / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.04337, allocations: 7.933 MB / 1.024 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.051, allocations: 8.047 kB / 1.024 GB, free: 4.203 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.154941456392407]