Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 192.4 kB / 21.34 MB, free: 0.8398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 489.7 MB / 0.7761 GB, free: 2.348 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.89 kB / 1.127 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 172 MB / 1.295 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002294/1.104, allocations: 1.53 MB / 1.296 GB, free: 37.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001247/1.106, allocations: 0.5396 MB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/1.106, allocations: 2.938 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/1.106, allocations: 11.25 kB / 1.297 GB, free: 37.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/1.106, allocations: 37.03 kB / 1.297 GB, free: 37.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007749/1.107, allocations: 302.2 kB / 1.297 GB, free: 37.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004773/1.107, allocations: 486.1 kB / 1.298 GB, free: 36.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/1.107, allocations: 3 kB / 1.298 GB, free: 36.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/1.108, allocations: 277.7 kB / 1.298 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/1.108, allocations: 143.1 kB / 1.298 GB, free: 36.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/1.108, allocations: 33.69 kB / 1.298 GB, free: 36.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/1.108, allocations: 26.19 kB / 1.298 GB, free: 36.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/1.108, allocations: 121.7 kB / 1.298 GB, free: 36.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/1.108, allocations: 180.8 kB / 1.298 GB, free: 36.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/1.109, allocations: 425.2 kB / 1.299 GB, free: 36.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.109, allocations: 0 / 1.299 GB, free: 36.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/1.109, allocations: 3.938 kB / 1.299 GB, free: 36.44 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.604e-05/1.109, allocations: 0 / 1.299 GB, free: 36.44 MB / 1.061 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.001181/1.11, allocations: 0.8787 MB / 1.3 GB, free: 35.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.11, allocations: 15.97 kB / 1.3 GB, free: 35.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.11, allocations: 53.64 kB / 1.3 GB, free: 35.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/1.111, allocations: 312.9 kB / 1.3 GB, free: 35.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/1.111, allocations: 18.81 kB / 1.3 GB, free: 35.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/1.111, allocations: 28.5 kB / 1.3 GB, free: 35.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/1.112, allocations: 214.8 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.112, allocations: 4.188 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.112, allocations: 3.938 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.112, allocations: 2.844 kB / 1.3 GB, free: 35.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/1.112, allocations: 98.3 kB / 1.3 GB, free: 35.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/1.113, allocations: 392 kB / 1.301 GB, free: 35.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.114, allocations: 165.7 kB / 1.301 GB, free: 34.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/1.115, allocations: 102.5 kB / 1.301 GB, free: 34.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/1.115, allocations: 0 / 1.301 GB, free: 34.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009497/1.116, allocations: 231.8 kB / 1.301 GB, free: 34.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/1.116, allocations: 6.938 kB / 1.301 GB, free: 34.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00244/1.118, allocations: 481.7 kB / 1.302 GB, free: 34.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/1.118, allocations: 64.28 kB / 1.302 GB, free: 34.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/1.118, allocations: 414.5 kB / 1.302 GB, free: 34.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/1.118, allocations: 44.62 kB / 1.302 GB, free: 34.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/1.119, allocations: 96.58 kB / 1.302 GB, free: 34.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/1.119, allocations: 36.25 kB / 1.302 GB, free: 34.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/1.119, allocations: 129.3 kB / 1.302 GB, free: 34.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.382e-05/1.119, allocations: 321.3 kB / 1.303 GB, free: 33.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/1.119, allocations: 116.5 kB / 1.303 GB, free: 33.94 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/1.119, allocations: 173.1 kB / 1.303 GB, free: 33.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/1.12, allocations: 272.3 kB / 1.303 GB, free: 33.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.12, allocations: 6.781 kB / 1.303 GB, free: 33.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006768/1.12, allocations: 496.4 kB / 1.304 GB, free: 33.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/1.12, allocations: 95.47 kB / 1.304 GB, free: 33.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.12, allocations: 0 / 1.304 GB, free: 33.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.12, allocations: 2.875 kB / 1.304 GB, free: 33.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.12, allocations: 18.19 kB / 1.304 GB, free: 33.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/1.12, allocations: 10.72 kB / 1.304 GB, free: 33.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/1.121, allocations: 65.5 kB / 1.304 GB, free: 33.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/1.121, allocations: 59.8 kB / 1.304 GB, free: 33.32 MB / 1.061 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.0001711/1.121, allocations: 190.8 kB / 1.304 GB, free: 33.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/1.121, allocations: 52.42 kB / 1.304 GB, free: 33.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/1.121, allocations: 36.44 kB / 1.304 GB, free: 33.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.121, allocations: 7.938 kB / 1.304 GB, free: 33.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.121, allocations: 2.781 kB / 1.304 GB, free: 33.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.121, allocations: 3.328 kB / 1.304 GB, free: 33.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.123, allocations: 0.7369 MB / 1.305 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.123, allocations: 4 kB / 1.305 GB, free: 32.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/1.123, allocations: 13.12 kB / 1.305 GB, free: 32.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.123, allocations: 0 / 1.305 GB, free: 32.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/1.123, allocations: 22.27 kB / 1.305 GB, free: 32.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.123, allocations: 4 kB / 1.305 GB, free: 32.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.123, allocations: 0 / 1.305 GB, free: 32.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/1.125, allocations: 481 kB / 1.306 GB, free: 32.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/1.125, allocations: 196.3 kB / 1.306 GB, free: 32.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/1.125, allocations: 13.5 kB / 1.306 GB, free: 32.37 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/1.126, allocations: 29.66 kB / 1.306 GB, free: 32.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/1.126, allocations: 10.11 kB / 1.306 GB, free: 32.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/1.126, allocations: 60.05 kB / 1.306 GB, free: 32.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002367/1.126, allocations: 296.9 kB / 1.306 GB, free: 32.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.126, allocations: 0 / 1.306 GB, free: 32.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000335/1.126, allocations: 65.66 kB / 1.306 GB, free: 32.22 MB / 1.061 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.0001322/1.127, allocations: 123.3 kB / 1.306 GB, free: 32.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.128, allocations: 404.2 kB / 1.307 GB, free: 31.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.128, allocations: 0 / 1.307 GB, free: 31.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/1.128, allocations: 114 kB / 1.307 GB, free: 31.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/1.129, allocations: 25.38 kB / 1.307 GB, free: 31.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.13, allocations: 0.6019 MB / 1.307 GB, free: 31.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.13, allocations: 0.7742 MB / 1.308 GB, free: 30.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/1.13, allocations: 15.5 kB / 1.308 GB, free: 30.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.131, allocations: 0 / 1.308 GB, free: 30.84 MB / 1.061 GB Notification: Performance of Templates: time 0.004959/1.135, allocations: 3.686 MB / 1.312 GB, free: 30.31 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time