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.001784/0.001784, allocations: 111.1 kB / 17.08 MB, free: 5.988 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.001969/0.001969, allocations: 191.8 kB / 20.03 MB, free: 3.059 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.441/1.441, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.1 MB / 0.7178 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002107/0.002107, allocations: 67.83 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2939, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002641/0.2966, allocations: 1.524 MB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2978, allocations: 0.5462 MB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.2979, allocations: 0 / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.298, allocations: 7.875 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2981, allocations: 27.64 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.2989, allocations: 307.4 kB / 1.178 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.2995, allocations: 0.5033 MB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.2995, allocations: 4 kB / 1.179 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.2999, allocations: 275.6 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.3002, allocations: 143.6 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.273e-05/0.3003, allocations: 28 kB / 1.179 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.3004, allocations: 24 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3005, allocations: 115.7 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3007, allocations: 191 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3012, allocations: 422.4 kB / 1.18 GB, free: 1.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3012, allocations: 4 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3012, allocations: 0 / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3012, allocations: 0 / 1.18 GB, free: 1.812 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.001301/0.3025, allocations: 0.882 MB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3026, allocations: 8.031 kB / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3027, allocations: 56.64 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.3031, allocations: 310.6 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.3032, allocations: 20.36 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.3032, allocations: 32.3 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/0.3042, allocations: 212.6 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3042, allocations: 4.188 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.3043, allocations: 7.938 kB / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3043, allocations: 0 / 1.181 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007541/0.305, allocations: 111.8 kB / 1.181 GB, free: 56 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.3055, allocations: 393.3 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3066, allocations: 182.4 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007248/0.3073, allocations: 108.8 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3074, allocations: 4 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009455/0.3083, allocations: 219.2 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 3.256e-06/0.3083, allocations: 0 / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002551/0.3109, allocations: 498.8 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.311, allocations: 59.39 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.3114, allocations: 409.9 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.3115, allocations: 41.69 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.376e-05/0.3116, allocations: 97.44 kB / 1.183 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.3116, allocations: 35.69 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.3118, allocations: 137.5 kB / 1.183 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.312, allocations: 318.8 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.3123, allocations: 115.9 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3126, allocations: 174.9 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.313, allocations: 272.1 kB / 1.184 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.313, allocations: 0 / 1.184 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008271/0.3138, allocations: 496.7 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/0.3139, allocations: 93.5 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3139, allocations: 0 / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3139, allocations: 4 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3141, allocations: 19.98 kB / 1.185 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3141, allocations: 7.938 kB / 1.185 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.3146, allocations: 67.84 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.3147, allocations: 63.98 kB / 1.185 GB, free: 12.11 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.0002222/0.3149, allocations: 188 kB / 1.185 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.315, allocations: 39.7 kB / 1.185 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.3151, allocations: 43.73 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3151, allocations: 0 / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3151, allocations: 3.938 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3151, allocations: 0 / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.3173, allocations: 0.7483 MB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3174, allocations: 0 / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.3174, allocations: 11.92 kB / 1.186 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3174, allocations: 0 / 1.186 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.3175, allocations: 27.92 kB / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3175, allocations: 0 / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3175, allocations: 3.984 kB / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.3193, allocations: 476.8 kB / 1.187 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.3195, allocations: 200.7 kB / 1.187 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.3196, allocations: 15.98 kB / 1.187 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.3201, allocations: 31.97 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3202, allocations: 7.984 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.3202, allocations: 59.97 kB / 1.187 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003217/0.3206, allocations: 299 kB / 1.187 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3206, allocations: 0 / 1.187 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003959/0.321, allocations: 68 kB / 1.187 GB, free: 9.816 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.0001645/0.3211, allocations: 119.2 kB / 1.187 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.3225, allocations: 438.5 kB / 1.188 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3225, allocations: 4.375 kB / 1.188 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/0.3233, allocations: 118.5 kB / 1.188 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3237, allocations: 29.48 kB / 1.188 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3252, allocations: 0.5918 MB / 1.188 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.3257, allocations: 0.7747 MB / 1.189 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.3257, allocations: 15.44 kB / 1.189 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.3257, allocations: 0 / 1.189 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.005983/0.3317, allocations: 3.683 MB / 1.193 GB, free: 3.914 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.51309261098504]