Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.001258/0.001258, allocations: 107.6 kB / 18.95 MB, free: 2.809 MB / 14.72 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.001527/0.001527, allocations: 212.9 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 65.58 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3796, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00307/0.3827, allocations: 1.531 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.384, allocations: 0.5168 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3841, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.3842, allocations: 11.86 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3843, allocations: 35.84 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.3852, allocations: 309.4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005569/0.3857, allocations: 483.5 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.3858, allocations: 0 / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.3861, allocations: 287.6 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3864, allocations: 135.6 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.3865, allocations: 28 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-05/0.3866, allocations: 32 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3867, allocations: 107.7 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3869, allocations: 163.2 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.3874, allocations: 428.2 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3874, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3874, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3874, allocations: 0 / 1.286 GB, free: 8.418 MB / 0.9825 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.001345/0.3888, allocations: 0.7949 MB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3888, allocations: 8.031 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.3889, allocations: 46.73 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.389, allocations: 52.66 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.3894, allocations: 256.7 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.3895, allocations: 20.36 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.986e-05/0.3896, allocations: 24.36 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.3905, allocations: 214 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3905, allocations: 3.938 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3905, allocations: 7.984 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3905, allocations: 7.938 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.3913, allocations: 97.3 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.3917, allocations: 312.5 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3927, allocations: 162.5 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.3934, allocations: 100.8 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3934, allocations: 7.984 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009422/0.3943, allocations: 231.1 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3944, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002492/0.3968, allocations: 488.3 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3969, allocations: 59.41 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.3976, allocations: 413.9 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.3977, allocations: 41.7 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3978, allocations: 89.44 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.3979, allocations: 47.66 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.3981, allocations: 133.4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3983, allocations: 322.8 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.3986, allocations: 187.3 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.399, allocations: 250.5 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.3994, allocations: 271.2 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3994, allocations: 4 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001007/0.4004, allocations: 0.5491 MB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.4005, allocations: 89.53 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4006, allocations: 3.984 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4006, allocations: 4 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4007, allocations: 23.98 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4008, allocations: 3.938 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.4012, allocations: 55.84 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.4013, allocations: 63.92 kB / 1.292 GB, free: 2.715 MB / 0.9825 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002558/0.4016, allocations: 201.7 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.4016, allocations: 43.64 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.4017, allocations: 39.69 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4017, allocations: 0 / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4017, allocations: 4 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4017, allocations: 3.984 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.4043, allocations: 0.7006 MB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4043, allocations: 0 / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.4043, allocations: 15.92 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4043, allocations: 0 / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.4044, allocations: 15.98 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4044, allocations: 3.984 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4044, allocations: 0 / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.4061, allocations: 490.2 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.4064, allocations: 125.6 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.4065, allocations: 16 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.407, allocations: 31.95 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.407, allocations: 3.984 kB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.4071, allocations: 63.98 kB / 1.293 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003789/0.4075, allocations: 295.1 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4075, allocations: 0 / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004815/0.4079, allocations: 63.98 kB / 1.294 GB, free: 0.5586 MB / 0.9825 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.002277/0.4102, allocations: 1.046 MB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.4116, allocations: 469.9 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4116, allocations: 0 / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007511/0.4124, allocations: 116.2 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4128, allocations: 34.95 kB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/0.4178, allocations: 3.075 MB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.418, allocations: 166.9 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.346e-05/0.4181, allocations: 17.08 kB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.4181, allocations: 23.42 kB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/0.4181, allocations: 0 / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.4567, allocations: 8.065 MB / 1.306 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.9, allocations: 8 kB / 1.306 GB, free: 3.355 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=643.381 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 21.81473804730922]