Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002014/0.002014, allocations: 111.2 kB / 16.4 MB, free: 6.512 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.002434/0.002434, allocations: 191.7 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.491/1.491, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437.1 MB / 0.7171 GB, free: 4.047 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 72.12 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8833, allocations: 151.6 MB / 1.175 GB, free: 17.63 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002636/0.886, allocations: 1.53 MB / 1.176 GB, free: 16.56 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8874, allocations: 0.5397 MB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.8875, allocations: 0 / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.8876, allocations: 7.172 kB / 1.177 GB, free: 16.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.8878, allocations: 29.7 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.8887, allocations: 315 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000665/0.8893, allocations: 0.5055 MB / 1.177 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.8894, allocations: 4.969 kB / 1.177 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.8898, allocations: 272.8 kB / 1.178 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.8901, allocations: 143.7 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.8902, allocations: 26.84 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.8903, allocations: 26.56 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.8905, allocations: 123.4 kB / 1.178 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.8907, allocations: 180.5 kB / 1.178 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.8912, allocations: 423.6 kB / 1.179 GB, free: 15.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8912, allocations: 0 / 1.179 GB, free: 15.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8913, allocations: 0 / 1.179 GB, free: 15.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8913, allocations: 5.953 kB / 1.179 GB, free: 15.4 MB / 0.92 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.00113/0.8924, allocations: 0.8757 MB / 1.179 GB, free: 14.65 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8925, allocations: 10.67 kB / 1.18 GB, free: 14.65 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.8925, allocations: 39.86 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.8926, allocations: 55.02 kB / 1.18 GB, free: 14.58 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.8929, allocations: 321.4 kB / 1.18 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.265e-05/0.893, allocations: 12.95 kB / 1.18 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.8931, allocations: 29.95 kB / 1.18 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.8941, allocations: 208.9 kB / 1.18 GB, free: 14.24 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.8941, allocations: 3.938 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.8941, allocations: 6.953 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.8941, allocations: 1.438 kB / 1.18 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.8949, allocations: 98.98 kB / 1.18 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.8954, allocations: 391.1 kB / 1.181 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.8964, allocations: 181.1 kB / 1.181 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.8971, allocations: 112.1 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.8972, allocations: 2.312 kB / 1.181 GB, free: 13.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.8982, allocations: 230.4 kB / 1.181 GB, free: 13.78 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.8982, allocations: 0 / 1.181 GB, free: 13.78 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002762/0.901, allocations: 493.6 kB / 1.182 GB, free: 13.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.901, allocations: 58.86 kB / 1.182 GB, free: 13.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.9016, allocations: 410.4 kB / 1.182 GB, free: 13.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/0.9017, allocations: 40.83 kB / 1.182 GB, free: 13.36 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.9017, allocations: 103.1 kB / 1.182 GB, free: 13.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.9018, allocations: 33.02 kB / 1.182 GB, free: 13.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.902, allocations: 128.3 kB / 1.182 GB, free: 13.19 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.9021, allocations: 321 kB / 1.183 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.9024, allocations: 120.3 kB / 1.183 GB, free: 12.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.9027, allocations: 177.9 kB / 1.183 GB, free: 12.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.903, allocations: 277.2 kB / 1.183 GB, free: 12.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.903, allocations: 0 / 1.183 GB, free: 12.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009345/0.904, allocations: 499.2 kB / 1.184 GB, free: 12.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/0.9041, allocations: 88.44 kB / 1.184 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9041, allocations: 2.016 kB / 1.184 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.9041, allocations: 2.688 kB / 1.184 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.9043, allocations: 27.94 kB / 1.184 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9043, allocations: 2.656 kB / 1.184 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.9049, allocations: 64.02 kB / 1.184 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.905, allocations: 56.94 kB / 1.184 GB, free: 12.22 MB / 0.92 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.0003004/0.9053, allocations: 203.2 kB / 1.184 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.9053, allocations: 41.64 kB / 1.184 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/0.9054, allocations: 37.3 kB / 1.184 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9054, allocations: 2.031 kB / 1.184 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.9054, allocations: 5.094 kB / 1.184 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.9055, allocations: 1.125 kB / 1.184 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.9077, allocations: 0.7493 MB / 1.185 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9077, allocations: 2.125 kB / 1.185 GB, free: 11.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.9078, allocations: 11.84 kB / 1.185 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9078, allocations: 1 kB / 1.185 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.9078, allocations: 22.48 kB / 1.185 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.9078, allocations: 1.344 kB / 1.185 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9079, allocations: 0 / 1.185 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.9097, allocations: 477.4 kB / 1.185 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.9101, allocations: 204.8 kB / 1.186 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.9102, allocations: 14.64 kB / 1.186 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.9107, allocations: 28.45 kB / 1.186 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.9108, allocations: 7.109 kB / 1.186 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.9108, allocations: 65.2 kB / 1.186 GB, free: 11.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003675/0.9112, allocations: 294.2 kB / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9112, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004753/0.9117, allocations: 64.27 kB / 1.186 GB, free: 11.11 MB / 0.92 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.001946/0.9137, allocations: 1.024 MB / 1.187 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.9152, allocations: 442.5 kB / 1.187 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9152, allocations: 1.094 kB / 1.187 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.916, allocations: 117.1 kB / 1.188 GB, free: 10.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.9165, allocations: 30.97 kB / 1.188 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.921, allocations: 2.793 MB / 1.19 GB, free: 8.266 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.9213, allocations: 0.7717 MB / 1.191 GB, free: 7.562 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.768e-05/0.9214, allocations: 11 kB / 1.191 GB, free: 7.562 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.9214, allocations: 25.73 kB / 1.191 GB, free: 7.547 MB / 0.92 GB Notification: Performance of SimCode: time 4.11e-07/0.9214, allocations: 0 / 1.191 GB, free: 7.547 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.9514, allocations: 6.129 MB / 1.197 GB, free: 4.457 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.287, allocations: 3.844 kB / 1.197 GB, free: 4.457 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.244293882977217]