Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001428/0.001428, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001523/0.001523, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.945/2.945, allocations: 377.8 MB / 0.6232 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.8109 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.764e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003159/0.003187, allocations: 1.733 MB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.00477, allocations: 0.6163 MB / 0.8132 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.004833, allocations: 1.688 kB / 0.8132 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.004952, allocations: 15.86 kB / 0.8132 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.00511, allocations: 43.66 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.006068, allocations: 368.8 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.006858, allocations: 0.6009 MB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.006972, allocations: 22.39 kB / 0.8142 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.007662, allocations: 423.5 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.007991, allocations: 135.1 kB / 0.8147 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.008106, allocations: 47.94 kB / 0.8147 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.00821, allocations: 40 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.0084, allocations: 131.6 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.008636, allocations: 150 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008556/0.009492, allocations: 0.6428 MB / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.009496, allocations: 0 / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.923e-06/0.009498, allocations: 0 / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.009505, allocations: 0 / 0.8157 GB, free: 13.14 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001553/0.01106, allocations: 0.8305 MB / 0.8165 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01109, allocations: 8.75 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.01129, allocations: 68.66 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.01176, allocations: 284.4 kB / 0.8168 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.01181, allocations: 25.95 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.0119, allocations: 28.36 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.01306, allocations: 250.6 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01307, allocations: 0.9375 kB / 0.8171 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.0131, allocations: 4.375 kB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.01311, allocations: 5 kB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.01401, allocations: 137.1 kB / 0.8173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.01539, allocations: 0.5327 MB / 0.8178 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.0166, allocations: 188.2 kB / 0.818 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008778/0.01747, allocations: 127.9 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.01751, allocations: 7.984 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.01866, allocations: 238.4 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.01867, allocations: 0 / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.002946/0.02161, allocations: 0.5419 MB / 0.8189 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.02168, allocations: 63.88 kB / 0.8189 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.02224, allocations: 442.5 kB / 0.8193 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/0.02232, allocations: 45.64 kB / 0.8194 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.02244, allocations: 102.4 kB / 0.8195 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.0225, allocations: 39.69 kB / 0.8195 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.02285, allocations: 134.4 kB / 0.8196 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.02304, allocations: 326.8 kB / 0.82 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.02346, allocations: 219.3 kB / 0.8202 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.02392, allocations: 274.1 kB / 0.8204 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.02439, allocations: 300.7 kB / 0.8207 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02439, allocations: 0 / 0.8207 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001156/0.02555, allocations: 0.6288 MB / 0.8213 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.02565, allocations: 83.38 kB / 0.8214 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.02566, allocations: 8.969 kB / 0.8214 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.02568, allocations: 0 / 0.8214 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.02587, allocations: 27.97 kB / 0.8214 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.02588, allocations: 9.031 kB / 0.8215 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.02644, allocations: 72.83 kB / 0.8215 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.02654, allocations: 57.02 kB / 0.8216 GB, free: 6.812 MB / 0.7761 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003172/0.02686, allocations: 220.4 kB / 0.8218 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.02696, allocations: 44.3 kB / 0.8218 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.02704, allocations: 53.12 kB / 0.8219 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02705, allocations: 0 / 0.8219 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.02705, allocations: 0 / 0.8219 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.02705, allocations: 0 / 0.8219 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.02958, allocations: 0.7519 MB / 0.8226 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02958, allocations: 0 / 0.8226 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.02962, allocations: 5.094 kB / 0.8226 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02963, allocations: 0 / 0.8226 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.02968, allocations: 27.91 kB / 0.8226 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.02969, allocations: 0.6562 kB / 0.8226 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.02969, allocations: 7.312 kB / 0.8227 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.03187, allocations: 0.5169 MB / 0.8232 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.03221, allocations: 181.5 kB / 0.8233 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.03229, allocations: 16.91 kB / 0.8233 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.03285, allocations: 32.56 kB / 0.8234 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.03289, allocations: 16.09 kB / 0.8234 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/0.03297, allocations: 63.98 kB / 0.8235 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000402/0.03337, allocations: 323.1 kB / 0.8238 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03337, allocations: 0 / 0.8238 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004029/0.03377, allocations: 64 kB / 0.8238 GB, free: 4.457 MB / 0.7761 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002121/0.03399, allocations: 131.8 kB / 0.8239 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.03559, allocations: 0.5252 MB / 0.8245 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0356, allocations: 4 kB / 0.8245 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/0.0365, allocations: 126.8 kB / 0.8246 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.03696, allocations: 61.61 kB / 0.8246 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.03878, allocations: 0.6225 MB / 0.8253 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.03902, allocations: 186.7 kB / 0.8254 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.715e-05/0.03908, allocations: 13.48 kB / 0.8254 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.03914, allocations: 24.48 kB / 0.8255 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.03914, allocations: 0 / 0.8255 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of Templates: time 0.01227/0.05141, allocations: 6.411 MB / 0.8317 GB, free: 12.25 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.1958365800092]