Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.858/2.858, allocations: 359 MB / 0.6048 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.51e-05, allocations: 3.5 kB / 0.7863 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002821/0.002846, allocations: 1.542 MB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.004419, allocations: 0.5285 MB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.004484, allocations: 3.938 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.004613, allocations: 12.7 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.004759, allocations: 31.8 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.005744, allocations: 313.4 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.006419, allocations: 487.4 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.006468, allocations: 5.25 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.007082, allocations: 355.6 kB / 0.7895 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.007415, allocations: 129.2 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.007551, allocations: 28 kB / 0.7897 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.007685, allocations: 28 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.007865, allocations: 127.6 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.008076, allocations: 125 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.008709, allocations: 462.7 kB / 0.7904 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.008714, allocations: 3.938 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.413e-06/0.008715, allocations: 0.6875 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.008722, allocations: 0 / 0.7904 GB, free: 8.676 MB / 0.7448 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.001618/0.01034, allocations: 0.9196 MB / 0.7913 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01038, allocations: 12.03 kB / 0.7913 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01053, allocations: 56.69 kB / 0.7913 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.01102, allocations: 267.3 kB / 0.7916 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.01108, allocations: 16.36 kB / 0.7916 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/0.01115, allocations: 31.8 kB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.01177, allocations: 194 kB / 0.7918 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.01178, allocations: 192 / 0.7918 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.01181, allocations: 8.359 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.01181, allocations: 4.375 kB / 0.7918 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.01224, allocations: 79.89 kB / 0.7919 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.01272, allocations: 341.1 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.01335, allocations: 148.6 kB / 0.7924 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.01375, allocations: 88.83 kB / 0.7925 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.01378, allocations: 4 kB / 0.7925 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005785/0.01436, allocations: 211 kB / 0.7927 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.01436, allocations: 0 / 0.7927 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.001587/0.01594, allocations: 442 kB / 0.7931 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.01601, allocations: 68.59 kB / 0.7932 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.01653, allocations: 462.7 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.01659, allocations: 45.62 kB / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01672, allocations: 145.5 kB / 0.7938 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.01677, allocations: 43.75 kB / 0.7938 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.01701, allocations: 135.1 kB / 0.794 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.01727, allocations: 0.5001 MB / 0.7944 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.01764, allocations: 211.8 kB / 0.7946 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.01809, allocations: 293.5 kB / 0.7949 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.01855, allocations: 312.9 kB / 0.7952 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.01855, allocations: 4 kB / 0.7952 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001095/0.01965, allocations: 0.6236 MB / 0.7958 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.439e-05/0.01974, allocations: 85.66 kB / 0.7959 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01975, allocations: 4 kB / 0.7959 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01976, allocations: 4.656 kB / 0.7959 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.01998, allocations: 31.97 kB / 0.796 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.01999, allocations: 8.594 kB / 0.796 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.02034, allocations: 48.73 kB / 0.796 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.02044, allocations: 67.92 kB / 0.7961 GB, free: 2.492 MB / 0.7448 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.0002116/0.02065, allocations: 187.4 kB / 0.7963 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.02074, allocations: 48.97 kB / 0.7963 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.0208, allocations: 31.69 kB / 0.7963 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02081, allocations: 0 / 0.7963 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.02081, allocations: 0.9688 kB / 0.7963 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.02082, allocations: 7.875 kB / 0.7963 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.02253, allocations: 0.7417 MB / 0.7971 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02253, allocations: 0 / 0.7971 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.02257, allocations: 4 kB / 0.7971 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.02257, allocations: 7.188 kB / 0.7971 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.02262, allocations: 27.91 kB / 0.7971 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.02262, allocations: 4 kB / 0.7971 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02262, allocations: 0 / 0.7971 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.02378, allocations: 494.2 kB / 0.7976 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.02409, allocations: 134.6 kB / 0.7977 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.141e-05/0.02416, allocations: 11.94 kB / 0.7977 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.02444, allocations: 16.48 kB / 0.7977 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.02448, allocations: 11.98 kB / 0.7977 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.02456, allocations: 60.53 kB / 0.7978 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00042/0.02498, allocations: 287.6 kB / 0.7981 GB, free: 392 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02498, allocations: 0 / 0.7981 GB, free: 392 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003514/0.02533, allocations: 69.34 kB / 0.7981 GB, free: 324 kB / 0.7448 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.000166/0.0255, allocations: 116.3 kB / 0.7983 GB, free: 196 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.02666, allocations: 0.5898 MB / 0.7988 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02666, allocations: 0 / 0.7988 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.0271, allocations: 103.6 kB / 0.7989 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.02749, allocations: 58.91 kB / 0.799 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02858, allocations: 0.489 MB / 0.7995 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.02877, allocations: 167.9 kB / 0.7996 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.772e-05/0.02883, allocations: 15.14 kB / 0.7996 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.02888, allocations: 20.48 kB / 0.7997 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.02888, allocations: 0.5 kB / 0.7997 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of Templates: time 0.01137/0.04025, allocations: 5.894 MB / 0.8054 GB, free: 8.742 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 7.92311178392265]