Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008289/0.008289, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001546/0.001546, allocations: 192.6 kB / 16.67 MB, free: 5.93 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.422/2.422, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 1.018 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.8929, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002691/0.8956, allocations: 1.525 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.8971, allocations: 0.5408 MB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.8972, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.8973, allocations: 7.875 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.8974, allocations: 35.62 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.8983, allocations: 313.5 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.8989, allocations: 0.4994 MB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.899, allocations: 4 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.8993, allocations: 275.6 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.8996, allocations: 147.5 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.665e-05/0.8997, allocations: 28 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.8998, allocations: 28 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.8999, allocations: 115.7 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.9001, allocations: 187 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.9006, allocations: 423 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9006, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9006, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.9006, allocations: 0 / 1.171 GB, free: 15.73 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.001196/0.9018, allocations: 0.8821 MB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.9019, allocations: 8.922 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.902, allocations: 52.7 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.9024, allocations: 322.5 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.9025, allocations: 16.36 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.9025, allocations: 28.38 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.9035, allocations: 211.5 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.9035, allocations: 4.172 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.9035, allocations: 3.938 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9035, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.9043, allocations: 103.9 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.9047, allocations: 389.3 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009846/0.9057, allocations: 186.4 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.9064, allocations: 108.8 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.9064, allocations: 7.984 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009111/0.9074, allocations: 223.5 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.895e-06/0.9074, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002498/0.9099, allocations: 495.6 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.9099, allocations: 67.39 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.9104, allocations: 405.9 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.9104, allocations: 41.69 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.9105, allocations: 93.45 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.9106, allocations: 39.75 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.9108, allocations: 129.5 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.9109, allocations: 322.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.9112, allocations: 115.9 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.9115, allocations: 173.9 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.9118, allocations: 275.5 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9118, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007932/0.9126, allocations: 496.7 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.9127, allocations: 91.31 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9127, allocations: 0 / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.9128, allocations: 4 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.913, allocations: 23.92 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.913, allocations: 4 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004572/0.9134, allocations: 71.92 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.9135, allocations: 63.97 kB / 1.176 GB, free: 10.03 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.000214/0.9138, allocations: 188 kB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.9138, allocations: 43.7 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.9139, allocations: 39.75 kB / 1.176 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.9139, allocations: 3.984 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9139, allocations: 0 / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9139, allocations: 0 / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.9161, allocations: 0.7482 MB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.9161, allocations: 0 / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.9161, allocations: 7.984 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.9161, allocations: 3.984 kB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.9162, allocations: 19.98 kB / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9162, allocations: 0 / 1.177 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.9162, allocations: 7.938 kB / 1.177 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.9179, allocations: 475.4 kB / 1.177 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.9181, allocations: 204.7 kB / 1.177 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.157e-05/0.9182, allocations: 11.98 kB / 1.177 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.9187, allocations: 31.97 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.9187, allocations: 11.92 kB / 1.178 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.9188, allocations: 55.98 kB / 1.178 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002847/0.9191, allocations: 291.1 kB / 1.178 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9191, allocations: 4 kB / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003703/0.9195, allocations: 71.98 kB / 1.178 GB, free: 7.738 MB / 0.9044 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001652/0.9196, allocations: 116.1 kB / 1.178 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.9209, allocations: 439.9 kB / 1.178 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9209, allocations: 8 kB / 1.178 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.9216, allocations: 123.8 kB / 1.179 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.922, allocations: 29.48 kB / 1.179 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.9235, allocations: 0.5489 MB / 1.179 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.9238, allocations: 0.7747 MB / 1.18 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.9239, allocations: 13.08 kB / 1.18 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.9239, allocations: 15.44 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.924, allocations: 0 / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of Templates: time 0.008506/0.9325, allocations: 4.954 MB / 1.185 GB, free: 0.5508 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches