Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 109.7 kB / 16.42 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 184.9 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 60.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.164, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003245/1.168, allocations: 1.523 MB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001484/1.169, allocations: 0.5447 MB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/1.169, allocations: 0 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/1.169, allocations: 7.922 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/1.17, allocations: 35.56 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/1.171, allocations: 313.8 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/1.172, allocations: 0.5072 MB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/1.172, allocations: 7.984 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/1.172, allocations: 271.6 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/1.173, allocations: 140.2 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/1.173, allocations: 31.98 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/1.173, allocations: 28 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.173, allocations: 119.6 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/1.173, allocations: 179.1 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006467/1.174, allocations: 427 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.174, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.569e-06/1.174, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.045e-05/1.174, allocations: 3.938 kB / 1.171 GB, free: 15.76 MB / 0.9044 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.001539/1.176, allocations: 0.8782 MB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.176, allocations: 8.922 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/1.176, allocations: 52.7 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/1.176, allocations: 318.5 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/1.176, allocations: 16.38 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.597e-05/1.176, allocations: 28.36 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/1.177, allocations: 210 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.177, allocations: 4.188 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/1.178, allocations: 7.875 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.178, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/1.178, allocations: 107.9 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/1.179, allocations: 389.3 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.18, allocations: 178.4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007186/1.181, allocations: 108.8 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/1.181, allocations: 4 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009769/1.182, allocations: 223.5 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/1.182, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002579/1.184, allocations: 495.2 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/1.184, allocations: 59.39 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/1.185, allocations: 417.8 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/1.185, allocations: 41.69 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/1.185, allocations: 93.45 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/1.185, allocations: 35.69 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.185, allocations: 133.5 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.185, allocations: 322.8 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/1.186, allocations: 115.9 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/1.186, allocations: 173.9 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/1.187, allocations: 275.8 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.187, allocations: 0 / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008744/1.187, allocations: 488.8 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-05/1.188, allocations: 86.19 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.188, allocations: 7.938 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.188, allocations: 7.984 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.188, allocations: 23.92 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.188, allocations: 4 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/1.188, allocations: 59.8 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/1.188, allocations: 68.06 kB / 1.176 GB, free: 10.07 MB / 0.9044 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.0002546/1.189, allocations: 201.7 kB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/1.189, allocations: 39.7 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.547e-05/1.189, allocations: 39.69 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.189, allocations: 7.984 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/1.189, allocations: 0 / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/1.189, allocations: 200.7 kB / 1.177 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/1.189, allocations: 12 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/1.19, allocations: 37.72 kB / 1.177 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/1.19, allocations: 7.984 kB / 1.177 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001691/1.191, allocations: 420.7 kB / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00172/1.193, allocations: 0.5402 MB / 1.178 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007221/1.194, allocations: 119.9 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003998/1.194, allocations: 295.1 kB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of Backend: time 1.102e-06/1.194, allocations: 3.938 kB / 1.178 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.195, allocations: 417 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001136/1.196, allocations: 0.9378 MB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of Templates: time 0.01038/1.207, allocations: 5.12 MB / 1.185 GB, free: 1.488 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches