Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001745/0.001746, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7912, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002566/0.7938, allocations: 1.58 MB / 0.9504 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.7952, allocations: 0.5894 MB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.7953, allocations: 0 / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.7954, allocations: 9.312 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.7956, allocations: 22.86 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.7963, allocations: 286.5 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.7966, allocations: 444 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.7967, allocations: 8.422 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.7971, allocations: 309 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.7974, allocations: 162 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.7975, allocations: 14.12 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.7976, allocations: 13.94 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.7977, allocations: 116.1 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.7979, allocations: 186.5 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.7984, allocations: 421.1 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7984, allocations: 0 / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7984, allocations: 0 / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.7984, allocations: 0 / 0.9529 GB, free: 6.316 MB / 0.7169 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.001256/0.7997, allocations: 0.865 MB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7997, allocations: 12.94 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.7999, allocations: 50.5 kB / 0.9538 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.8002, allocations: 310.2 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.8003, allocations: 22.98 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.8004, allocations: 29.27 kB / 0.9542 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.8014, allocations: 211 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8014, allocations: 192 / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.8015, allocations: 5.281 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8015, allocations: 1.406 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.8023, allocations: 107.2 kB / 0.9545 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.8027, allocations: 391.6 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.8038, allocations: 181.1 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.8047, allocations: 108 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.8047, allocations: 5.766 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.8058, allocations: 219.3 kB / 0.9553 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.8058, allocations: 3.938 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002989/0.8088, allocations: 493.2 kB / 0.9558 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.8089, allocations: 61.38 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.8094, allocations: 408.6 kB / 0.9563 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.8096, allocations: 45.03 kB / 0.9563 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.8097, allocations: 92.31 kB / 0.9564 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.8097, allocations: 42.41 kB / 0.9564 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.81, allocations: 131.2 kB / 0.9566 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.8101, allocations: 321.6 kB / 0.9569 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.8103, allocations: 121.9 kB / 0.957 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.8107, allocations: 170.7 kB / 0.9572 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.811, allocations: 279.7 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.811, allocations: 0.75 kB / 0.9574 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008597/0.8119, allocations: 494.2 kB / 0.9579 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.812, allocations: 92.16 kB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.812, allocations: 1.375 kB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.812, allocations: 3.594 kB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.8122, allocations: 25.38 kB / 0.958 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.8122, allocations: 3.281 kB / 0.958 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.8128, allocations: 65.89 kB / 0.9581 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8129, allocations: 57.2 kB / 0.9581 GB, free: 2.523 MB / 0.7169 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.0002447/0.8132, allocations: 198 kB / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.8132, allocations: 40.88 kB / 0.9584 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.8133, allocations: 39.86 kB / 0.9584 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8133, allocations: 2.188 kB / 0.9584 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.8133, allocations: 0 / 0.9584 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8133, allocations: 11.92 kB / 0.9584 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.8156, allocations: 0.7487 MB / 0.9591 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8157, allocations: 0 / 0.9591 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.8157, allocations: 3.875 kB / 0.9591 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.8157, allocations: 5.219 kB / 0.9591 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.8158, allocations: 23.53 kB / 0.9592 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8158, allocations: 1.375 kB / 0.9592 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8158, allocations: 0 / 0.9592 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.8176, allocations: 480.8 kB / 0.9596 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.8179, allocations: 196.2 kB / 0.9598 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.219e-05/0.818, allocations: 13.16 kB / 0.9598 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.8185, allocations: 31.95 kB / 0.9599 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.8186, allocations: 8.141 kB / 0.9599 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.8187, allocations: 58.89 kB / 0.9599 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003424/0.819, allocations: 296.4 kB / 0.9602 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.21e-07/0.819, allocations: 0 / 0.9602 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005033/0.8195, allocations: 65.77 kB / 0.9603 GB, free: 1.105 MB / 0.7169 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.0001657/0.8197, allocations: 115.2 kB / 0.9604 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.8211, allocations: 449.5 kB / 0.9608 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8211, allocations: 1.25 kB / 0.9608 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.822, allocations: 119.5 kB / 0.9609 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.8224, allocations: 30.08 kB / 0.961 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.8241, allocations: 0.6633 MB / 0.9616 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.8245, allocations: 0.779 MB / 0.9624 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.686e-05/0.8246, allocations: 12.89 kB / 0.9624 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.8246, allocations: 17.88 kB / 0.9624 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.8247, allocations: 0 / 0.9624 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.01127/0.8359, allocations: 4.963 MB / 0.9672 GB, free: 12.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches