Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 110 kB / 18.93 MB, free: 2.945 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.001484/0.001484, allocations: 185.7 kB / 22.23 MB, free: 5.16 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.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8093/0.8114, allocations: 160.8 MB / 1.218 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003369/0.8147, allocations: 1.535 MB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.8163, allocations: 0.5508 MB / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.8164, allocations: 0 / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.8165, allocations: 9.078 kB / 1.22 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.8167, allocations: 35.5 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008922/0.8175, allocations: 317.2 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.8181, allocations: 484.1 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.8182, allocations: 7.047 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.8186, allocations: 282.5 kB / 1.222 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.8189, allocations: 146.3 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.1e-05/0.819, allocations: 26.56 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.8191, allocations: 26.59 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.8192, allocations: 120.3 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.8195, allocations: 186.6 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.82, allocations: 428.7 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.82, allocations: 1.344 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.82, allocations: 0 / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.82, allocations: 4 kB / 1.222 GB, free: 0.7812 MB / 0.92 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.001409/0.8214, allocations: 0.8738 MB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8214, allocations: 10.34 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.8215, allocations: 50.58 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.8221, allocations: 321.2 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.8221, allocations: 15.12 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.8222, allocations: 29.7 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.8232, allocations: 214.9 kB / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8232, allocations: 192 / 1.224 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.8232, allocations: 9.125 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8232, allocations: 1.062 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.824, allocations: 95.45 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.8245, allocations: 400 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.8255, allocations: 162.1 kB / 1.225 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/0.8263, allocations: 103.2 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.8263, allocations: 2.125 kB / 1.225 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009922/0.8273, allocations: 226.8 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.8273, allocations: 4 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002663/0.83, allocations: 490 kB / 1.225 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.83, allocations: 64.58 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.8305, allocations: 413.5 kB / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.8306, allocations: 41.72 kB / 1.226 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.8307, allocations: 91.83 kB / 1.226 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.8308, allocations: 41.14 kB / 1.226 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.831, allocations: 124 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8312, allocations: 325 kB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.8315, allocations: 121.4 kB / 1.227 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.8318, allocations: 174.4 kB / 1.227 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.8322, allocations: 275.2 kB / 1.227 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8322, allocations: 0 / 1.227 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000899/0.8331, allocations: 490 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.942e-05/0.8332, allocations: 92.78 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8332, allocations: 5.234 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.8332, allocations: 6.656 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.8334, allocations: 22.58 kB / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.8334, allocations: 2.094 kB / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/0.834, allocations: 66.73 kB / 1.228 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.8341, allocations: 63.97 kB / 1.228 GB, free: 12.96 MB / 0.9356 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.000281/0.8343, allocations: 205.4 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.8344, allocations: 40.7 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.8345, allocations: 39.69 kB / 1.228 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.8345, allocations: 2.656 kB / 1.228 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8345, allocations: 0 / 1.228 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8345, allocations: 3.984 kB / 1.228 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.8368, allocations: 0.7426 MB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.8368, allocations: 1.812 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.8369, allocations: 7.281 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8369, allocations: 0 / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.8369, allocations: 19.72 kB / 1.229 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8369, allocations: 1.5 kB / 1.229 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8369, allocations: 0 / 1.229 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.8386, allocations: 484.9 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.839, allocations: 204.7 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.8391, allocations: 16 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.8395, allocations: 35.89 kB / 1.229 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.8396, allocations: 11.98 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.8396, allocations: 55.97 kB / 1.229 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003557/0.84, allocations: 295.1 kB / 1.23 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.84, allocations: 0 / 1.23 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000441/0.8404, allocations: 64 kB / 1.23 GB, free: 11.21 MB / 0.9356 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.0001896/0.8406, allocations: 123.7 kB / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.842, allocations: 414.5 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.842, allocations: 0 / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.8427, allocations: 122.8 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.8431, allocations: 29.58 kB / 1.23 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.8448, allocations: 0.543 MB / 1.231 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.8453, allocations: 0.7669 MB / 1.232 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.288e-05/0.8454, allocations: 17.08 kB / 1.232 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.8454, allocations: 19.42 kB / 1.232 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of SimCode: time 6.81e-07/0.8454, allocations: 0 / 1.232 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of Templates: time 0.01048/0.8559, allocations: 5.005 MB / 1.237 GB, free: 4.004 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.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.563859321177006]