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.001433/0.001433, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001455/0.001455, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.31 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.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.001792/0.001792, allocations: 71.83 kB / 1.107 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7254, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002152/0.7276, allocations: 1.541 MB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.7286, allocations: 0.5433 MB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.7287, allocations: 0.8125 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.7287, allocations: 10.56 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.7288, allocations: 26.58 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.7295, allocations: 316.8 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.73, allocations: 478.6 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.73, allocations: 9.609 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.7303, allocations: 276 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.7306, allocations: 145.4 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.7307, allocations: 26.12 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.7308, allocations: 31.31 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7309, allocations: 110.6 kB / 1.275 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.7311, allocations: 184.8 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.7315, allocations: 430.6 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7315, allocations: 5.844 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7315, allocations: 0 / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.7315, allocations: 0 / 1.275 GB, free: 5.527 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.001023/0.7325, allocations: 0.873 MB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7326, allocations: 13.5 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.7326, allocations: 43.52 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.7327, allocations: 51.75 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.733, allocations: 312.8 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.7331, allocations: 17.94 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.7331, allocations: 34.75 kB / 1.277 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.7341, allocations: 206.1 kB / 1.277 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7341, allocations: 9.031 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.7341, allocations: 2.188 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.7341, allocations: 1.125 kB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.7349, allocations: 104.2 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.7352, allocations: 388 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.7362, allocations: 165.9 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.737, allocations: 101.6 kB / 1.278 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.737, allocations: 7.547 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008981/0.7379, allocations: 218.8 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.7379, allocations: 1.031 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002465/0.7404, allocations: 489.8 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.7404, allocations: 61.67 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.7408, allocations: 407.5 kB / 1.279 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.7409, allocations: 48.31 kB / 1.279 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.7409, allocations: 90.92 kB / 1.279 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.7409, allocations: 41.14 kB / 1.279 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.7411, allocations: 128.8 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.7412, allocations: 320.3 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.7414, allocations: 124.8 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.7417, allocations: 173.6 kB / 1.28 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.742, allocations: 284.4 kB / 1.28 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.742, allocations: 1.188 kB / 1.28 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006851/0.7427, allocations: 498 kB / 1.28 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.7427, allocations: 87.97 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7427, allocations: 3.203 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7428, allocations: 5.859 kB / 1.28 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.7429, allocations: 23.12 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7429, allocations: 8.672 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.7434, allocations: 58.42 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.7434, allocations: 58.56 kB / 1.281 GB, free: 2.363 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.0001732/0.7436, allocations: 197.5 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.7437, allocations: 44.66 kB / 1.281 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.7437, allocations: 41.05 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7437, allocations: 2.625 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7437, allocations: 3.938 kB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7437, allocations: 0.7969 kB / 1.281 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.7457, allocations: 0.7493 MB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7457, allocations: 0 / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.7457, allocations: 8.484 kB / 1.282 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.7457, allocations: 0 / 1.282 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.7457, allocations: 21.44 kB / 1.282 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7457, allocations: 6.969 kB / 1.282 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7457, allocations: 0 / 1.282 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.7473, allocations: 471.6 kB / 1.282 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.7474, allocations: 206.2 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.7475, allocations: 11.2 kB / 1.282 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.7479, allocations: 31.3 kB / 1.282 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.748, allocations: 11.42 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.748, allocations: 60.5 kB / 1.282 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002311/0.7483, allocations: 295.1 kB / 1.283 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7483, allocations: 0 / 1.283 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003205/0.7486, allocations: 63.23 kB / 1.283 GB, free: 1.262 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.001709/0.7503, allocations: 1.028 MB / 1.284 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.7514, allocations: 409.4 kB / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7514, allocations: 0 / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.7521, allocations: 112.9 kB / 1.284 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.7524, allocations: 23.56 kB / 1.284 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.7562, allocations: 2.805 MB / 1.287 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.7566, allocations: 0.7665 MB / 1.288 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.7566, allocations: 15.92 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.7567, allocations: 29.89 kB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.7567, allocations: 0 / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.7859, allocations: 6.156 MB / 1.294 GB, free: 12.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.161/7.947, allocations: 9.219 kB / 1.294 GB, free: 12.53 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.177797164000367]