Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0017/0.0017, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002196/0.002196, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.571/1.571, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.005/3.005, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003692/1.071, allocations: 1.755 MB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001528/1.072, allocations: 0.6301 MB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.883e-05/1.072, allocations: 0 / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/1.072, allocations: 19.8 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/1.072, allocations: 31.84 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/1.073, allocations: 362.8 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/1.074, allocations: 0.6048 MB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/1.074, allocations: 21.3 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/1.074, allocations: 311.6 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/1.075, allocations: 177.6 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/1.075, allocations: 40 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/1.075, allocations: 40 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/1.075, allocations: 127.6 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/1.075, allocations: 215 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006193/1.076, allocations: 0.6018 MB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.076, allocations: 3.938 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.767e-06/1.076, allocations: 3.984 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.076, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 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.001349/1.077, allocations: 0.8417 MB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.077, allocations: 15.98 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/1.077, allocations: 52.66 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/1.078, allocations: 284.7 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/1.078, allocations: 24.34 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.846e-05/1.078, allocations: 32.36 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/1.079, allocations: 236.2 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.079, allocations: 4.188 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/1.079, allocations: 7.938 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.079, allocations: 0 / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/1.08, allocations: 115.9 kB / 1.281 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/1.081, allocations: 0.6476 MB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/1.082, allocations: 166.5 kB / 1.282 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/1.083, allocations: 108.8 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.083, allocations: 4 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/1.084, allocations: 227.2 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/1.084, allocations: 4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002415/1.086, allocations: 496.4 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/1.086, allocations: 75.38 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/1.087, allocations: 437.9 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/1.087, allocations: 45.69 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.087, allocations: 105.3 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/1.087, allocations: 35.77 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/1.087, allocations: 137.5 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.087, allocations: 322.8 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/1.088, allocations: 139.9 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/1.088, allocations: 196.3 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/1.088, allocations: 315.1 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/1.088, allocations: 0 / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008801/1.089, allocations: 0.5163 MB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/1.089, allocations: 95.38 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.089, allocations: 0 / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.089, allocations: 8.188 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.09, allocations: 23.92 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.09, allocations: 3.984 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/1.09, allocations: 55.91 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/1.09, allocations: 67.91 kB / 1.285 GB, free: 9.23 MB / 0.9825 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.0002774/1.09, allocations: 228.2 kB / 1.285 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/1.09, allocations: 43.7 kB / 1.285 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/1.091, allocations: 39.72 kB / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.091, allocations: 0 / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.091, allocations: 0 / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.091, allocations: 4 kB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.093, allocations: 0.759 MB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.093, allocations: 0 / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/1.093, allocations: 8 kB / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.093, allocations: 0 / 1.286 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/1.093, allocations: 19.97 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.093, allocations: 3.938 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.093, allocations: 3.938 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.094, allocations: 479.5 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/1.095, allocations: 185.4 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/1.095, allocations: 16 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/1.095, allocations: 43.89 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/1.095, allocations: 7.984 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/1.095, allocations: 51.98 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003408/1.096, allocations: 323.1 kB / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.096, allocations: 0 / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003539/1.096, allocations: 67.95 kB / 1.287 GB, free: 6.898 MB / 0.9825 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.0001951/1.096, allocations: 135.2 kB / 1.287 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.098, allocations: 436.6 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.098, allocations: 3.938 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/1.098, allocations: 120.2 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/1.099, allocations: 39.03 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/1.1, allocations: 0.6054 MB / 1.288 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/1.101, allocations: 0.7786 MB / 1.289 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.655e-05/1.101, allocations: 17.42 kB / 1.289 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/1.101, allocations: 19.42 kB / 1.289 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.101, allocations: 0 / 1.289 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of Templates: time 0.009709/1.11, allocations: 5.519 MB / 1.294 GB, free: 15.05 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.696303798817098]