Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001825/0.001825, allocations: 106 kB / 18.94 MB, free: 2.934 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.001538/0.001538, allocations: 187.9 kB / 22.23 MB, free: 5.156 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13 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.576/2.576, allocations: 443.5 MB / 0.7321 GB, free: 12.29 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7746/0.7766, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00282/0.7795, allocations: 1.534 MB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.7809, allocations: 0.5471 MB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.7809, allocations: 3.938 kB / 1.22 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.781, allocations: 13.11 kB / 1.22 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.7812, allocations: 31.62 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.7821, allocations: 316.3 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.7828, allocations: 493 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.7829, allocations: 3.25 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.7833, allocations: 274.6 kB / 1.222 GB, free: 1.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.7836, allocations: 153.8 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.7837, allocations: 27.28 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.7838, allocations: 26.34 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.784, allocations: 119.5 kB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.7842, allocations: 190.8 kB / 1.222 GB, free: 1.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.7848, allocations: 425 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7848, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7848, allocations: 0.75 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7848, allocations: 0 / 1.222 GB, free: 0.793 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.001469/0.7863, allocations: 0.8749 MB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7863, allocations: 12.58 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.7865, allocations: 51.42 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.7869, allocations: 313 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.787, allocations: 23.56 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.529e-05/0.7871, allocations: 25.52 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009981/0.7881, allocations: 214.3 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7881, allocations: 192 / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.7881, allocations: 5.688 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7881, allocations: 1.094 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.7889, allocations: 99.27 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.7893, allocations: 387.9 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7904, allocations: 170.3 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.7912, allocations: 106.9 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.7912, allocations: 2.188 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.7922, allocations: 230.1 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.7922, allocations: 0 / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002612/0.7949, allocations: 485.5 kB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.7949, allocations: 68.39 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.7955, allocations: 412.7 kB / 1.226 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.7955, allocations: 37.8 kB / 1.226 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.7956, allocations: 96.19 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.7957, allocations: 38.88 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.7959, allocations: 130.5 kB / 1.226 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7961, allocations: 321.5 kB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.7964, allocations: 125.3 kB / 1.227 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.7967, allocations: 174.9 kB / 1.227 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.7971, allocations: 275.3 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7971, allocations: 0 / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008633/0.798, allocations: 491.6 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.7981, allocations: 92.84 kB / 1.228 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7981, allocations: 0.9688 kB / 1.228 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7981, allocations: 2.625 kB / 1.228 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.7983, allocations: 30.22 kB / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.7983, allocations: 2.656 kB / 1.228 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.7989, allocations: 66.83 kB / 1.228 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.799, allocations: 60.39 kB / 1.228 GB, free: 12.97 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.0002833/0.7992, allocations: 193.6 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.7993, allocations: 40.8 kB / 1.228 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.7994, allocations: 39.91 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7994, allocations: 2.625 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.7994, allocations: 0 / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.7994, allocations: 3.984 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.8018, allocations: 0.7479 MB / 1.229 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8018, allocations: 1.188 kB / 1.229 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.8018, allocations: 3.719 kB / 1.229 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.8018, allocations: 1.156 kB / 1.229 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.8019, allocations: 23 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.8019, allocations: 1.031 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8019, allocations: 1.062 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.8037, allocations: 485.4 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.8041, allocations: 200.7 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.8041, allocations: 8 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.8046, allocations: 35.95 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.8047, allocations: 7.984 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.582e-05/0.8048, allocations: 59.98 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003662/0.8051, allocations: 291.1 kB / 1.23 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8051, allocations: 7.938 kB / 1.23 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000431/0.8056, allocations: 67.98 kB / 1.23 GB, free: 11.24 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.0001813/0.8058, allocations: 119.8 kB / 1.23 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.8071, allocations: 409.3 kB / 1.23 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8071, allocations: 4.125 kB / 1.23 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.8079, allocations: 115.8 kB / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.8083, allocations: 31.98 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.8098, allocations: 0.5469 MB / 1.231 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.8103, allocations: 0.7747 MB / 1.232 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.211e-05/0.8104, allocations: 17.06 kB / 1.232 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.8104, allocations: 11.44 kB / 1.232 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of SimCode: time 9.51e-07/0.8104, allocations: 4 kB / 1.232 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of Templates: time 0.01115/0.8216, allocations: 5.018 MB / 1.237 GB, free: 4.02 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.716115550138056]