Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001667/0.001667, allocations: 105.5 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.001741/0.001741, 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 497.2 MB / 0.7811 GB, free: 12.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 67.89 kB / 1.134 GB, free: 13.23 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.096, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002382/1.099, allocations: 1.512 MB / 1.305 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001146/1.1, allocations: 0.5535 MB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/1.1, allocations: 3.938 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/1.1, allocations: 6.688 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/1.1, allocations: 21.73 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/1.101, allocations: 318.6 kB / 1.306 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/1.101, allocations: 484.4 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/1.101, allocations: 2.906 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/1.102, allocations: 285.1 kB / 1.307 GB, free: 30.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/1.102, allocations: 145 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/1.102, allocations: 25.12 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/1.102, allocations: 26.62 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/1.102, allocations: 123.9 kB / 1.307 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/1.102, allocations: 182 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/1.102, allocations: 428.5 kB / 1.308 GB, free: 29.91 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.102, allocations: 0 / 1.308 GB, free: 29.91 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.102, allocations: 0 / 1.308 GB, free: 29.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.102, allocations: 0 / 1.308 GB, free: 29.91 MB / 1.061 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.001057/1.104, allocations: 0.8757 MB / 1.309 GB, free: 29.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/1.104, allocations: 8.75 kB / 1.309 GB, free: 29.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/1.104, allocations: 37.28 kB / 1.309 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/1.104, allocations: 64 kB / 1.309 GB, free: 29.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/1.104, allocations: 316.8 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/1.104, allocations: 18.55 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/1.104, allocations: 25.69 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/1.105, allocations: 212.6 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.105, allocations: 3.938 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/1.105, allocations: 10.95 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/1.105, allocations: 4 kB / 1.309 GB, free: 28.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/1.106, allocations: 96.22 kB / 1.31 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/1.106, allocations: 393.3 kB / 1.31 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/1.107, allocations: 170.2 kB / 1.31 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/1.108, allocations: 96.78 kB / 1.31 GB, free: 28.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/1.108, allocations: 2.938 kB / 1.31 GB, free: 28.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/1.109, allocations: 232.9 kB / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/1.109, allocations: 0 / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00228/1.111, allocations: 486.9 kB / 1.311 GB, free: 28.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.111, allocations: 60.66 kB / 1.311 GB, free: 28.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/1.111, allocations: 414.3 kB / 1.311 GB, free: 27.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/1.111, allocations: 38.62 kB / 1.311 GB, free: 27.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/1.111, allocations: 101.5 kB / 1.311 GB, free: 27.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/1.111, allocations: 41.11 kB / 1.311 GB, free: 27.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.112, allocations: 126.7 kB / 1.312 GB, free: 27.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/1.112, allocations: 325.1 kB / 1.312 GB, free: 27.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/1.112, allocations: 116.7 kB / 1.312 GB, free: 27.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/1.112, allocations: 161.7 kB / 1.312 GB, free: 27.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/1.112, allocations: 277.6 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.112, allocations: 2.5 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006724/1.113, allocations: 495.7 kB / 1.313 GB, free: 26.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/1.113, allocations: 97.72 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.113, allocations: 2.906 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.113, allocations: 2.75 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/1.113, allocations: 22.03 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.113, allocations: 6 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/1.114, allocations: 54.66 kB / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/1.114, allocations: 64.38 kB / 1.313 GB, free: 26.75 MB / 1.061 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.0001763/1.114, allocations: 199.4 kB / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/1.114, allocations: 42.08 kB / 1.313 GB, free: 26.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/1.114, allocations: 42.17 kB / 1.313 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.114, allocations: 2.625 kB / 1.313 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.114, allocations: 0 / 1.313 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.114, allocations: 4 kB / 1.313 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/1.116, allocations: 0.7496 MB / 1.314 GB, free: 26.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.116, allocations: 4 kB / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/1.116, allocations: 5.188 kB / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.116, allocations: 4 kB / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.116, allocations: 17.95 kB / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.116, allocations: 2.812 kB / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.116, allocations: 0 / 1.314 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/1.118, allocations: 483.2 kB / 1.315 GB, free: 25.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/1.118, allocations: 210.7 kB / 1.315 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/1.118, allocations: 6.812 kB / 1.315 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/1.118, allocations: 31.16 kB / 1.315 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/1.118, allocations: 10.3 kB / 1.315 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.118, allocations: 57.3 kB / 1.315 GB, free: 25.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002327/1.119, allocations: 298.7 kB / 1.315 GB, free: 25.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.119, allocations: 0 / 1.315 GB, free: 25.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003831/1.119, allocations: 69.77 kB / 1.315 GB, free: 25.63 MB / 1.061 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.001713/1.121, allocations: 1.012 MB / 1.316 GB, free: 24.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.122, allocations: 411.8 kB / 1.317 GB, free: 24.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.122, allocations: 4.312 kB / 1.317 GB, free: 24.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/1.123, allocations: 110.8 kB / 1.317 GB, free: 24.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/1.123, allocations: 28.38 kB / 1.317 GB, free: 24.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/1.126, allocations: 2.794 MB / 1.32 GB, free: 22.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/1.127, allocations: 0.7758 MB / 1.32 GB, free: 22.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.642e-05/1.127, allocations: 12.89 kB / 1.32 GB, free: 22.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/1.127, allocations: 23.66 kB / 1.32 GB, free: 22.08 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.127, allocations: 0 / 1.32 GB, free: 22.08 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/1.164, allocations: 6.22 MB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/9.474, allocations: 15.84 kB / 1.326 GB, free: 20.8 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=643.381 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.77288266411051]