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.001661/0.001661, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001763/0.001763, allocations: 186 kB / 20.78 MB, free: 1.547 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.562/1.562, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.017/3.017, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002087/0.002087, allocations: 75.86 kB / 1.107 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224/1.226, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003941/1.23, allocations: 1.759 MB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00179/1.232, allocations: 0.6254 MB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/1.232, allocations: 0 / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/1.232, allocations: 14.72 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/1.233, allocations: 32.3 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/1.234, allocations: 367.5 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008929/1.234, allocations: 0.5957 MB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/1.235, allocations: 21.62 kB / 1.275 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/1.235, allocations: 312.8 kB / 1.276 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/1.235, allocations: 163 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/1.236, allocations: 41.06 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/1.236, allocations: 40.72 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/1.236, allocations: 128 kB / 1.276 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002773/1.236, allocations: 220.1 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009477/1.237, allocations: 0.5985 MB / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.237, allocations: 0 / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.237, allocations: 0 / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.657e-06/1.237, allocations: 0.875 kB / 1.277 GB, free: 5.168 MB / 0.9981 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.001435/1.239, allocations: 0.915 MB / 1.278 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.239, allocations: 10.8 kB / 1.278 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/1.239, allocations: 55.88 kB / 1.278 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/1.239, allocations: 342.5 kB / 1.278 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/1.239, allocations: 20.89 kB / 1.278 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/1.239, allocations: 33.09 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.24, allocations: 233.8 kB / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.24, allocations: 192 / 1.278 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/1.24, allocations: 9.531 kB / 1.278 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/1.24, allocations: 2.875 kB / 1.278 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/1.241, allocations: 120.5 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/1.243, allocations: 0.6763 MB / 1.279 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.244, allocations: 171 kB / 1.279 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.244, allocations: 109.1 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/1.244, allocations: 1.953 kB / 1.279 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.245, allocations: 234.2 kB / 1.28 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/1.245, allocations: 0 / 1.28 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002599/1.248, allocations: 0.4885 MB / 1.28 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.248, allocations: 62.58 kB / 1.28 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/1.249, allocations: 439.2 kB / 1.281 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/1.249, allocations: 40.44 kB / 1.281 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/1.249, allocations: 106.1 kB / 1.281 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/1.249, allocations: 44.89 kB / 1.281 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/1.249, allocations: 139.9 kB / 1.281 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/1.249, allocations: 326 kB / 1.281 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.249, allocations: 140 kB / 1.281 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/1.25, allocations: 188.9 kB / 1.282 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/1.25, allocations: 301.3 kB / 1.282 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.25, allocations: 0 / 1.282 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008787/1.251, allocations: 0.5291 MB / 1.282 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/1.251, allocations: 96.03 kB / 1.282 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.251, allocations: 1.875 kB / 1.282 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/1.251, allocations: 2.688 kB / 1.282 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/1.251, allocations: 26.86 kB / 1.282 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.251, allocations: 3.234 kB / 1.282 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/1.252, allocations: 63.84 kB / 1.282 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/1.252, allocations: 61.5 kB / 1.283 GB, free: 1.684 MB / 0.9981 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.0002477/1.252, allocations: 221.4 kB / 1.283 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/1.252, allocations: 38.25 kB / 1.283 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/1.252, allocations: 41.91 kB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.252, allocations: 2.844 kB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.252, allocations: 0 / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.252, allocations: 5.594 kB / 1.283 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/1.254, allocations: 0.787 MB / 1.284 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.254, allocations: 0 / 1.284 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/1.255, allocations: 5.859 kB / 1.284 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.255, allocations: 4 kB / 1.284 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/1.255, allocations: 19.69 kB / 1.284 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.255, allocations: 9.422 kB / 1.284 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/1.255, allocations: 0 / 1.284 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/1.256, allocations: 489.9 kB / 1.284 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003972/1.257, allocations: 242 kB / 1.284 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/1.257, allocations: 22.31 kB / 1.284 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/1.257, allocations: 35.47 kB / 1.284 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/1.257, allocations: 8.953 kB / 1.284 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.257, allocations: 58.52 kB / 1.284 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005753/1.258, allocations: 322.9 kB / 1.285 GB, free: 496 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.258, allocations: 1.375 kB / 1.285 GB, free: 496 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008173/1.259, allocations: 77.92 kB / 1.285 GB, free: 480 kB / 0.9981 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.0003434/1.259, allocations: 134.6 kB / 1.285 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001666/1.261, allocations: 440.2 kB / 1.285 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.261, allocations: 0 / 1.285 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/1.262, allocations: 110 kB / 1.286 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/1.262, allocations: 38.64 kB / 1.286 GB, free: 116 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.264, allocations: 0.6337 MB / 1.286 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/1.265, allocations: 0.7817 MB / 1.287 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001294/1.265, allocations: 12 kB / 1.287 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/1.265, allocations: 21.83 kB / 1.287 GB, free: 15.04 MB / 1.014 GB Notification: Performance of SimCode: time 3.006e-06/1.265, allocations: 0 / 1.287 GB, free: 15.04 MB / 1.014 GB Notification: Performance of Templates: time 0.01933/1.284, allocations: 5.479 MB / 1.292 GB, free: 14.11 MB / 1.014 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: 10.090953395701945]