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.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.0007989/0.0007989, 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.0008723/0.0008723, allocations: 170.3 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.8851/0.8851, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.692/1.692, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.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 1.092e-06/1.092e-06, allocations: 0 / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.366e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001717/0.001731, allocations: 1.514 MB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.002726, allocations: 0.5308 MB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.002778, allocations: 0 / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.002867, allocations: 7.875 kB / 0.9525 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.002967, allocations: 23.86 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.003551, allocations: 334.4 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.003885, allocations: 487.4 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.003921, allocations: 4 kB / 0.9533 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.00423, allocations: 351.6 kB / 0.9536 GB, free: 300 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.004414, allocations: 139.7 kB / 0.9537 GB, free: 160 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.004458, allocations: 24 kB / 0.9538 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.004499, allocations: 28 kB / 0.9538 GB, free: 108 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.004632, allocations: 115.8 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.004737, allocations: 139.6 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.005034, allocations: 458.8 kB / 0.9545 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005036, allocations: 0 / 0.9545 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005037, allocations: 3.938 kB / 0.9545 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.005041, allocations: 0 / 0.9545 GB, free: 15.4 MB / 0.9167 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.0007968/0.005838, allocations: 0.8027 MB / 0.9553 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.005878, allocations: 8.031 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.005917, allocations: 42.73 kB / 0.9553 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.005994, allocations: 52.7 kB / 0.9554 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.00626, allocations: 248.1 kB / 0.9556 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.006297, allocations: 20.36 kB / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.006342, allocations: 32.3 kB / 0.9556 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.006874, allocations: 226 kB / 0.9559 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006882, allocations: 192 / 0.9559 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.006902, allocations: 12.36 kB / 0.9559 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.006908, allocations: 8.062 kB / 0.9559 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.00728, allocations: 111.9 kB / 0.956 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.007551, allocations: 312.4 kB / 0.9563 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.008068, allocations: 178.5 kB / 0.9565 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.008422, allocations: 124.7 kB / 0.9566 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.008443, allocations: 3.984 kB / 0.9566 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.00891, allocations: 227.2 kB / 0.9568 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.008912, allocations: 0 / 0.9568 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.001363/0.01028, allocations: 0.5351 MB / 0.9573 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.01031, allocations: 59.41 kB / 0.9574 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.01058, allocations: 417.8 kB / 0.9578 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.01061, allocations: 37.7 kB / 0.9578 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.01067, allocations: 97.44 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.0107, allocations: 43.67 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01081, allocations: 129.5 kB / 0.9581 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.01088, allocations: 318.8 kB / 0.9584 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.01108, allocations: 191.3 kB / 0.9585 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.01128, allocations: 249.3 kB / 0.9588 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.01151, allocations: 267.1 kB / 0.959 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01151, allocations: 7.938 kB / 0.959 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005238/0.01204, allocations: 0.5566 MB / 0.9596 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.01208, allocations: 79.38 kB / 0.9597 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01209, allocations: 0 / 0.9597 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.0121, allocations: 12.11 kB / 0.9597 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.01219, allocations: 27.92 kB / 0.9597 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.0122, allocations: 0 / 0.9597 GB, free: 9.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.01244, allocations: 71.8 kB / 0.9598 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.01249, allocations: 59.98 kB / 0.9598 GB, free: 9.562 MB / 0.9167 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.0001452/0.01264, allocations: 199.7 kB / 0.96 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.01267, allocations: 35.77 kB / 0.9601 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.01271, allocations: 47.62 kB / 0.9601 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01272, allocations: 7.938 kB / 0.9601 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01272, allocations: 0 / 0.9601 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01272, allocations: 3.984 kB / 0.9601 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.01387, allocations: 0.7318 MB / 0.9608 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01387, allocations: 3.938 kB / 0.9608 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.01389, allocations: 7.984 kB / 0.9608 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01389, allocations: 0 / 0.9608 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.01391, allocations: 23.98 kB / 0.9609 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01392, allocations: 4 kB / 0.9609 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01392, allocations: 3.984 kB / 0.9609 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008475/0.01477, allocations: 0.4995 MB / 0.9614 GB, free: 7.926 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.01493, allocations: 141.4 kB / 0.9615 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.01497, allocations: 8 kB / 0.9615 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.01519, allocations: 43.95 kB / 0.9615 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.01522, allocations: 7.984 kB / 0.9615 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.01526, allocations: 51.98 kB / 0.9616 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001811/0.01544, allocations: 299.1 kB / 0.9619 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01544, allocations: 4 kB / 0.9619 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002204/0.01566, allocations: 67.98 kB / 0.962 GB, free: 7.316 MB / 0.9167 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.001041/0.0167, allocations: 1.06 MB / 0.963 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.01739, allocations: 485.9 kB / 0.9635 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01739, allocations: 0 / 0.9635 GB, free: 5.719 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.01775, allocations: 124.2 kB / 0.9636 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01799, allocations: 33.62 kB / 0.9636 GB, free: 5.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.02065, allocations: 3.127 MB / 0.9667 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.02076, allocations: 167 kB / 0.9668 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.0208, allocations: 13.3 kB / 0.9668 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.02085, allocations: 28.48 kB / 0.9669 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.02085, allocations: 0 / 0.9669 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.03923, allocations: 7.931 MB / 0.9746 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.821, allocations: 9.469 kB / 0.9746 GB, free: 10.17 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.73573743365705]