Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001529/0.001529, allocations: 106 kB / 16.45 MB, free: 6.445 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.001774/0.001774, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.62/1.62, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.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.933/2.933, allocations: 476.7 MB / 0.7611 GB, free: 15.69 MB / 0.6075 GB " [Timeout remaining time 176] 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.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.89 kB / 1.104 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 168.7 MB / 1.269 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002886/1.18, allocations: 1.528 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001298/1.181, allocations: 0.5521 MB / 1.271 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/1.181, allocations: 0 / 1.271 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/1.181, allocations: 11.2 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/1.181, allocations: 26.33 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008403/1.182, allocations: 304.9 kB / 1.271 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006383/1.183, allocations: 491.7 kB / 1.272 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/1.183, allocations: 3.938 kB / 1.272 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/1.183, allocations: 274.5 kB / 1.272 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/1.184, allocations: 143.3 kB / 1.272 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/1.184, allocations: 26.59 kB / 1.272 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/1.184, allocations: 26.91 kB / 1.272 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/1.184, allocations: 120.4 kB / 1.272 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/1.184, allocations: 185.2 kB / 1.272 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004663/1.185, allocations: 425.2 kB / 1.273 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.185, allocations: 6.422 kB / 1.273 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/1.185, allocations: 0 / 1.273 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.185, allocations: 4 kB / 1.273 GB, free: 5.535 MB / 0.9981 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.001171/1.186, allocations: 0.8761 MB / 1.274 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.186, allocations: 9.688 kB / 1.274 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/1.186, allocations: 40.09 kB / 1.274 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/1.186, allocations: 54.88 kB / 1.274 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/1.186, allocations: 309.3 kB / 1.274 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/1.186, allocations: 19.58 kB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/1.186, allocations: 32.05 kB / 1.274 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/1.187, allocations: 215.7 kB / 1.274 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.187, allocations: 3.938 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.187, allocations: 2.812 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.188, allocations: 2.312 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/1.188, allocations: 108.4 kB / 1.274 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/1.189, allocations: 385.9 kB / 1.275 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/1.19, allocations: 165.1 kB / 1.275 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/1.19, allocations: 103.3 kB / 1.275 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.19, allocations: 5.766 kB / 1.275 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009315/1.191, allocations: 227.7 kB / 1.275 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/1.191, allocations: 0 / 1.275 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002491/1.194, allocations: 489.2 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.194, allocations: 58.77 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/1.194, allocations: 414.1 kB / 1.276 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.905e-05/1.194, allocations: 41.22 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/1.194, allocations: 95.25 kB / 1.276 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/1.195, allocations: 36.58 kB / 1.276 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/1.195, allocations: 127.6 kB / 1.276 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.195, allocations: 325.4 kB / 1.277 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/1.195, allocations: 120.5 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/1.195, allocations: 173.1 kB / 1.277 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/1.196, allocations: 277 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.196, allocations: 1.031 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009003/1.197, allocations: 499.1 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.197, allocations: 98.98 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.197, allocations: 1.625 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.197, allocations: 3.406 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/1.197, allocations: 23.11 kB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.197, allocations: 3.281 kB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/1.198, allocations: 58.86 kB / 1.278 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.198, allocations: 58.2 kB / 1.278 GB, free: 2.375 MB / 0.9981 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.0002419/1.198, allocations: 202.6 kB / 1.278 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/1.198, allocations: 41.64 kB / 1.278 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/1.198, allocations: 41.8 kB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.198, allocations: 6.109 kB / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.198, allocations: 0.5156 kB / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.198, allocations: 3.406 kB / 1.278 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.2, allocations: 0.7414 MB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.2, allocations: 3.672 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/1.2, allocations: 3.016 kB / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.2, allocations: 0 / 1.279 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/1.2, allocations: 27.67 kB / 1.279 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.2, allocations: 4.781 kB / 1.279 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.2, allocations: 7.062 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/1.202, allocations: 469.7 kB / 1.279 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/1.202, allocations: 207.9 kB / 1.28 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/1.202, allocations: 14.7 kB / 1.28 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.202, allocations: 28.69 kB / 1.28 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/1.203, allocations: 9.25 kB / 1.28 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.165e-05/1.203, allocations: 62.33 kB / 1.28 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003017/1.203, allocations: 294.6 kB / 1.28 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.203, allocations: 0 / 1.28 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004065/1.203, allocations: 64.86 kB / 1.28 GB, free: 1.266 MB / 0.9981 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.001822/1.205, allocations: 1.026 MB / 1.281 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.206, allocations: 411.4 kB / 1.281 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.206, allocations: 0 / 1.281 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/1.207, allocations: 118.7 kB / 1.282 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/1.207, allocations: 31.34 kB / 1.282 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/1.212, allocations: 2.796 MB / 1.284 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/1.213, allocations: 0.7718 MB / 1.285 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.489e-05/1.213, allocations: 16.45 kB / 1.285 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/1.213, allocations: 20.2 kB / 1.285 GB, free: 13.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.593e-06/1.213, allocations: 0 / 1.285 GB, free: 13.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/1.247, allocations: 6.143 MB / 1.291 GB, free: 12.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.396, allocations: 8.375 kB / 1.291 GB, free: 12.51 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.03452704101801]