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.001687/0.001687, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001585/0.001585, allocations: 219.9 kB / 22.26 MB, free: 5.121 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8.004 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.878/2.878, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.002105/0.002105, allocations: 66.12 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003124/0.3591, allocations: 1.539 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3608, allocations: 0.5503 MB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.3609, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.361, allocations: 7.922 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3612, allocations: 35.72 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3623, allocations: 314.8 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000761/0.3631, allocations: 483.5 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.3631, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005716/0.3637, allocations: 287.6 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004536/0.3641, allocations: 139.7 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3643, allocations: 24 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.3643, allocations: 28 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3645, allocations: 119.6 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.3648, allocations: 187.1 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.3654, allocations: 426.7 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3654, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3654, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.3654, allocations: 0 / 1.287 GB, free: 7.523 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.0015/0.3669, allocations: 0.8027 MB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.367, allocations: 12.03 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.367, allocations: 38.75 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.3671, allocations: 52.7 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.3676, allocations: 268.6 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.3676, allocations: 20.36 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.073e-05/0.3677, allocations: 24.36 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.3687, allocations: 210 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3687, allocations: 3.938 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.3687, allocations: 4 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3688, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.3695, allocations: 107.2 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.37, allocations: 364.3 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.371, allocations: 162.5 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000725/0.3717, allocations: 100.8 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3717, allocations: 3.984 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009811/0.3727, allocations: 233.1 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.724e-06/0.3727, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002526/0.3752, allocations: 485 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.3753, allocations: 63.39 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.3758, allocations: 409.9 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.3759, allocations: 41.69 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.376, allocations: 97.44 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.3761, allocations: 51.61 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.3763, allocations: 133.4 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3765, allocations: 318.8 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.3768, allocations: 115.9 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.3771, allocations: 171.1 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004472/0.3776, allocations: 279.3 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3776, allocations: 0 / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009247/0.3785, allocations: 488.7 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3786, allocations: 95.31 kB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3786, allocations: 0 / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3786, allocations: 4 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3788, allocations: 19.92 kB / 1.292 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3788, allocations: 4 kB / 1.292 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.3793, allocations: 68.02 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.3794, allocations: 59.98 kB / 1.292 GB, free: 1.996 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.0002742/0.3797, allocations: 189.7 kB / 1.293 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.27e-05/0.3798, allocations: 43.66 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.3799, allocations: 47.67 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3799, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3799, allocations: 0 / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3799, allocations: 7.938 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.3822, allocations: 0.7189 MB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3822, allocations: 0 / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3822, allocations: 7.984 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3822, allocations: 0 / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3823, allocations: 19.98 kB / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3823, allocations: 0 / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3823, allocations: 0 / 1.293 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.384, allocations: 487.3 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.3843, allocations: 129.6 kB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.3844, allocations: 8 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.3849, allocations: 35.95 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3849, allocations: 7.984 kB / 1.294 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.385, allocations: 55.98 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003424/0.3853, allocations: 295.1 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004101/0.3857, allocations: 71.98 kB / 1.294 GB, free: 15.83 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 (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.002083/0.3878, allocations: 1.034 MB / 1.295 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.3891, allocations: 398.5 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3891, allocations: 0 / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.3899, allocations: 108.3 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3903, allocations: 41.48 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.3948, allocations: 2.795 MB / 1.299 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3953, allocations: 0.7708 MB / 1.3 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.3953, allocations: 13.08 kB / 1.3 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.3954, allocations: 23.42 kB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3954, allocations: 7.938 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.4319, allocations: 6.414 MB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 14.64 kB / 1.306 GB, free: 4.047 MB / 0.9981 GB " [Timeout remaining time 288] (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.540635007899255]