Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002226/0.002226, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002705/0.002705, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.384/3.384, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.711e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002961/0.002988, allocations: 1.534 MB / 0.8789 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004419, allocations: 0.5302 MB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.004466, allocations: 4 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.004566, allocations: 8.531 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.004686, allocations: 37.83 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.005521, allocations: 319.2 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.006125, allocations: 483.4 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.006163, allocations: 8 kB / 0.8803 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/0.006832, allocations: 351.6 kB / 0.8806 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.007189, allocations: 127.7 kB / 0.8807 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.007328, allocations: 32.81 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.007466, allocations: 28 kB / 0.8808 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.00766, allocations: 116.7 kB / 0.8809 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.007878, allocations: 127.7 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.008514, allocations: 462.7 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.008519, allocations: 1.125 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/0.008521, allocations: 0 / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.00853, allocations: 4 kB / 0.8814 GB, free: 2.578 MB / 0.8386 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.001538/0.01007, allocations: 0.9229 MB / 0.8823 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.0101, allocations: 9.094 kB / 0.8824 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.01026, allocations: 56.7 kB / 0.8824 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.01077, allocations: 266.8 kB / 0.8827 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.01082, allocations: 25.02 kB / 0.8827 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.0109, allocations: 24.36 kB / 0.8827 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.01153, allocations: 195.9 kB / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01154, allocations: 192 / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.01158, allocations: 8.375 kB / 0.8829 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.01159, allocations: 0.9688 kB / 0.8829 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004186/0.01201, allocations: 85.25 kB / 0.883 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.0125, allocations: 336.3 kB / 0.8833 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.01314, allocations: 156.4 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.01356, allocations: 83.64 kB / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01359, allocations: 8.562 kB / 0.8835 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005805/0.01417, allocations: 213 kB / 0.8837 GB, free: 64 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.01417, allocations: 7.5 kB / 0.8838 GB, free: 60 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001739/0.01591, allocations: 433.1 kB / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.01596, allocations: 59.41 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.0165, allocations: 470.6 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.01656, allocations: 42.5 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01668, allocations: 144.2 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.01674, allocations: 47.75 kB / 0.8849 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.01697, allocations: 135.1 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000272/0.01725, allocations: 0.4962 MB / 0.8855 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.01764, allocations: 215.3 kB / 0.8857 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.01808, allocations: 285.9 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.01856, allocations: 311.6 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01857, allocations: 4 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001108/0.01967, allocations: 0.6249 MB / 0.8869 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.01977, allocations: 79.38 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01977, allocations: 0 / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.01979, allocations: 4 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.02, allocations: 35.97 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.02001, allocations: 11.88 kB / 0.887 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.02038, allocations: 48.05 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.02049, allocations: 59.98 kB / 0.8871 GB, free: 12.4 MB / 0.8542 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.0002942/0.02078, allocations: 190.5 kB / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.02089, allocations: 47.72 kB / 0.8874 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.817e-05/0.02096, allocations: 35.67 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02097, allocations: 7.938 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.02097, allocations: 0 / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.02098, allocations: 3.938 kB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.02277, allocations: 0.7357 MB / 0.8881 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.02278, allocations: 3.984 kB / 0.8881 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.02282, allocations: 11.94 kB / 0.8881 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.02282, allocations: 4 kB / 0.8881 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.02287, allocations: 23.91 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02288, allocations: 0 / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.02288, allocations: 4 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.02411, allocations: 0.4913 MB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.02442, allocations: 121.5 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.02451, allocations: 19.92 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.02479, allocations: 15.98 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.02484, allocations: 11.98 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.02492, allocations: 55.97 kB / 0.8889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003102/0.02523, allocations: 287.1 kB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02523, allocations: 4 kB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003702/0.0256, allocations: 71.92 kB / 0.8892 GB, free: 10.2 MB / 0.8542 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.0001747/0.02577, allocations: 117 kB / 0.8893 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.02697, allocations: 0.588 MB / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02697, allocations: 0 / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.02743, allocations: 111.9 kB / 0.89 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.02782, allocations: 51.34 kB / 0.89 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02896, allocations: 0.495 MB / 0.8905 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.02916, allocations: 158.9 kB / 0.8907 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.02922, allocations: 17.14 kB / 0.8907 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.02927, allocations: 20.48 kB / 0.8907 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.02927, allocations: 0 / 0.8907 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.01172/0.04098, allocations: 5.884 MB / 0.8965 GB, free: 2.617 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.554024236043915]