Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001393/0.001393, allocations: 107.7 kB / 16.4 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.001464/0.001464, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.434/1.434, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.749 GB, free: 3.035 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 67.91 kB / 1.073 GB, free: 148 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8986/0.9006, allocations: 159.1 MB / 1.229 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003158/0.9038, allocations: 1.516 MB / 1.23 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.9052, allocations: 0.5462 MB / 1.231 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.9053, allocations: 4 kB / 1.231 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.9054, allocations: 11.86 kB / 1.231 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.9056, allocations: 23.86 kB / 1.231 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.9064, allocations: 313.2 kB / 1.231 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005596/0.907, allocations: 0.5033 MB / 1.231 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.907, allocations: 4 kB / 1.231 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.9074, allocations: 275.6 kB / 1.232 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.9077, allocations: 143.5 kB / 1.232 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.9078, allocations: 28 kB / 1.232 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.9079, allocations: 28 kB / 1.232 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.9081, allocations: 115.6 kB / 1.232 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.9084, allocations: 179.1 kB / 1.232 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.909, allocations: 432.2 kB / 1.233 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.909, allocations: 0 / 1.233 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.33e-06/0.9091, allocations: 0 / 1.233 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.9091, allocations: 7.938 kB / 1.233 GB, free: 0.7109 MB / 0.9356 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.001656/0.9107, allocations: 0.8742 MB / 1.233 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9108, allocations: 8.031 kB / 1.233 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.9109, allocations: 42.75 kB / 1.234 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.911, allocations: 52.69 kB / 1.234 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.9115, allocations: 314.5 kB / 1.234 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.9115, allocations: 16.36 kB / 1.234 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.9116, allocations: 32.36 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.9126, allocations: 208.6 kB / 1.234 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9126, allocations: 3.938 kB / 1.234 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.9127, allocations: 7.984 kB / 1.234 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.9127, allocations: 4 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.9134, allocations: 99.92 kB / 1.234 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.914, allocations: 393.1 kB / 1.235 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.9151, allocations: 178.5 kB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.9159, allocations: 116.8 kB / 1.235 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.9159, allocations: 0 / 1.235 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.917, allocations: 223.1 kB / 1.235 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.917, allocations: 3.938 kB / 1.235 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002618/0.9196, allocations: 496.3 kB / 1.236 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.9197, allocations: 59.41 kB / 1.236 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.9201, allocations: 409.9 kB / 1.236 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.9202, allocations: 37.7 kB / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.9203, allocations: 101.4 kB / 1.236 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.9203, allocations: 43.73 kB / 1.236 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.9205, allocations: 129.4 kB / 1.236 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9207, allocations: 322.8 kB / 1.237 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.921, allocations: 115.9 kB / 1.237 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.9213, allocations: 170.4 kB / 1.237 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.9217, allocations: 280.1 kB / 1.237 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.9217, allocations: 8 kB / 1.237 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008529/0.9226, allocations: 488.6 kB / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.9227, allocations: 91.31 kB / 1.238 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9227, allocations: 0 / 1.238 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.9227, allocations: 4 kB / 1.238 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.9229, allocations: 27.91 kB / 1.238 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.9229, allocations: 0 / 1.238 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.9234, allocations: 60.09 kB / 1.238 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/0.9235, allocations: 59.98 kB / 1.238 GB, free: 10.98 MB / 0.9512 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.0002246/0.9237, allocations: 201.2 kB / 1.238 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.9238, allocations: 43.69 kB / 1.238 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.9239, allocations: 39.75 kB / 1.238 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.9239, allocations: 8 kB / 1.238 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9239, allocations: 4 kB / 1.238 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9239, allocations: 0 / 1.238 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.9261, allocations: 0.7443 MB / 1.239 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9261, allocations: 4 kB / 1.239 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.9262, allocations: 4 kB / 1.239 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.9262, allocations: 0 / 1.239 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.9262, allocations: 19.97 kB / 1.239 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9263, allocations: 4 kB / 1.239 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9263, allocations: 0 / 1.239 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.9281, allocations: 475.4 kB / 1.239 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.9283, allocations: 208.6 kB / 1.24 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.9284, allocations: 8 kB / 1.24 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.9289, allocations: 31.97 kB / 1.24 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.929, allocations: 7.984 kB / 1.24 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.929, allocations: 63.97 kB / 1.24 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003104/0.9294, allocations: 295.1 kB / 1.24 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9294, allocations: 0 / 1.24 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003667/0.9297, allocations: 71.92 kB / 1.24 GB, free: 8.68 MB / 0.9512 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.002195/0.9319, allocations: 1.03 MB / 1.241 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.9333, allocations: 442.4 kB / 1.241 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9333, allocations: 0 / 1.241 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.9341, allocations: 115.9 kB / 1.242 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.9345, allocations: 23.89 kB / 1.242 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.939, allocations: 2.811 MB / 1.244 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.9395, allocations: 0.7707 MB / 1.245 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.057e-05/0.9396, allocations: 9.094 kB / 1.245 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.9397, allocations: 31.42 kB / 1.245 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of SimCode: time 7.52e-07/0.9397, allocations: 0 / 1.245 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.9669, allocations: 6.125 MB / 1.251 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/9.196, allocations: 2.5 kB / 1.251 GB, free: 13.12 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.219843588070944]