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.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.00131/0.00131, allocations: 103.7 kB / 16.45 MB, free: 6.445 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.001355/0.001355, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] 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.898/2.898, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.89 kB / 1.104 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002848/1.086, allocations: 1.526 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/1.087, allocations: 0.5471 MB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/1.087, allocations: 0.9062 kB / 1.271 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/1.087, allocations: 11.16 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/1.088, allocations: 30.09 kB / 1.271 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/1.088, allocations: 309.8 kB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/1.089, allocations: 491 kB / 1.272 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.6e-05/1.089, allocations: 3.125 kB / 1.272 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/1.09, allocations: 275.5 kB / 1.272 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/1.09, allocations: 155.4 kB / 1.272 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/1.09, allocations: 25.94 kB / 1.272 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/1.09, allocations: 26.75 kB / 1.272 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/1.09, allocations: 115.2 kB / 1.272 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/1.09, allocations: 185.4 kB / 1.272 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004853/1.091, allocations: 433.3 kB / 1.273 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.091, allocations: 0 / 1.273 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.091, allocations: 0 / 1.273 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.091, allocations: 4 kB / 1.273 GB, free: 5.523 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.001232/1.092, allocations: 0.8753 MB / 1.274 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.092, allocations: 9.781 kB / 1.274 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/1.092, allocations: 40.02 kB / 1.274 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/1.092, allocations: 52.52 kB / 1.274 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/1.093, allocations: 313.2 kB / 1.274 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/1.093, allocations: 16.95 kB / 1.274 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/1.093, allocations: 29 kB / 1.274 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/1.094, allocations: 214.1 kB / 1.274 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.094, allocations: 3.938 kB / 1.274 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.094, allocations: 1.062 kB / 1.274 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.094, allocations: 2.312 kB / 1.274 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/1.095, allocations: 103.4 kB / 1.274 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/1.095, allocations: 391.7 kB / 1.275 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/1.096, allocations: 164.2 kB / 1.275 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/1.097, allocations: 110 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/1.097, allocations: 1.531 kB / 1.275 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009193/1.098, allocations: 226.8 kB / 1.275 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/1.098, allocations: 1.156 kB / 1.275 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002439/1.1, allocations: 487.2 kB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.1, allocations: 74.09 kB / 1.276 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/1.101, allocations: 410.7 kB / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/1.101, allocations: 40.33 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/1.101, allocations: 90.81 kB / 1.276 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/1.101, allocations: 37.45 kB / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.101, allocations: 127.7 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/1.101, allocations: 325.3 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.101, allocations: 116 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/1.102, allocations: 166.4 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/1.102, allocations: 285.4 kB / 1.277 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.102, allocations: 0.6875 kB / 1.277 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008778/1.103, allocations: 491.6 kB / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/1.103, allocations: 94.75 kB / 1.278 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.103, allocations: 10.25 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.103, allocations: 3.219 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/1.103, allocations: 23.36 kB / 1.278 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.103, allocations: 3.406 kB / 1.278 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/1.104, allocations: 58.77 kB / 1.278 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.104, allocations: 61.33 kB / 1.278 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 (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.0002588/1.104, allocations: 205.1 kB / 1.278 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/1.104, allocations: 41.09 kB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/1.104, allocations: 39.11 kB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.104, allocations: 4 kB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.104, allocations: 4 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.104, allocations: 1.406 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/1.106, allocations: 0.7451 MB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.106, allocations: 0.7031 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/1.106, allocations: 5.609 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.106, allocations: 3.906 kB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/1.106, allocations: 20.64 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.106, allocations: 0 / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.106, allocations: 0.75 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.108, allocations: 480.1 kB / 1.279 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/1.108, allocations: 203.6 kB / 1.28 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/1.108, allocations: 17.45 kB / 1.28 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/1.109, allocations: 30.38 kB / 1.28 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/1.109, allocations: 8.047 kB / 1.28 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/1.109, allocations: 59.52 kB / 1.28 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002834/1.109, allocations: 293.6 kB / 1.28 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.109, allocations: 0 / 1.28 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000399/1.11, allocations: 65.02 kB / 1.28 GB, free: 1.258 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.001768/1.111, allocations: 1.023 MB / 1.281 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.113, allocations: 407 kB / 1.281 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.113, allocations: 0 / 1.281 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006861/1.113, allocations: 116.9 kB / 1.282 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/1.114, allocations: 30.33 kB / 1.282 GB, free: 284 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/1.118, allocations: 2.808 MB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/1.118, allocations: 0.7707 MB / 1.285 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.509e-05/1.118, allocations: 17.58 kB / 1.285 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/1.118, allocations: 24.11 kB / 1.285 GB, free: 13.68 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.118, allocations: 0 / 1.285 GB, free: 13.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/1.153, allocations: 6.21 MB / 1.291 GB, free: 12.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.247/9.399, allocations: 11.09 kB / 1.291 GB, free: 12.41 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 18.73108011391014]