Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.002492/0.002492, 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.002962/0.002962, 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.422/3.422, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.255e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003548/0.00358, allocations: 1.762 MB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.005121, allocations: 0.6117 MB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.005178, allocations: 0 / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.005286, allocations: 12.95 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.005427, allocations: 44.31 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.006336, allocations: 372.5 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007439/0.00708, allocations: 0.597 MB / 0.8808 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.007197, allocations: 18.77 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.007841, allocations: 415.6 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.008161, allocations: 144.2 kB / 0.8814 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.008303, allocations: 40.81 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.008448, allocations: 40 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.008621, allocations: 136.7 kB / 0.8816 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.008856, allocations: 143.7 kB / 0.8817 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.009677, allocations: 0.6427 MB / 0.8823 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.009681, allocations: 0.6562 kB / 0.8823 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009683, allocations: 0 / 0.8823 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.00969, allocations: 1.438 kB / 0.8823 GB, free: 1.645 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001637/0.01133, allocations: 0.9842 MB / 0.8833 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.01136, allocations: 8.031 kB / 0.8833 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.01153, allocations: 68.03 kB / 0.8834 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.0121, allocations: 278.8 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.01215, allocations: 20.36 kB / 0.8837 GB, free: 200 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.01224, allocations: 40.34 kB / 0.8837 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.01297, allocations: 220.6 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01298, allocations: 192 / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.01301, allocations: 4.312 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.01302, allocations: 5.531 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.01346, allocations: 93.45 kB / 0.884 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.01512, allocations: 0.6828 MB / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.01578, allocations: 156.1 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.01646, allocations: 99.56 kB / 0.8849 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01649, allocations: 4 kB / 0.8849 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006432/0.01714, allocations: 224.3 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.01714, allocations: 0 / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.001673/0.01881, allocations: 445.1 kB / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.01888, allocations: 67.33 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.01955, allocations: 0.5182 MB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.01961, allocations: 41.7 kB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.01975, allocations: 148.1 kB / 0.8863 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.01982, allocations: 47.73 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.02008, allocations: 155.1 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003073/0.02039, allocations: 0.5118 MB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.02084, allocations: 235.3 kB / 0.8872 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.02134, allocations: 321.8 kB / 0.8875 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.02189, allocations: 337 kB / 0.8878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02189, allocations: 0 / 0.8878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00121/0.0231, allocations: 0.662 MB / 0.8885 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.02322, allocations: 95.36 kB / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02322, allocations: 0 / 0.8886 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.02324, allocations: 4 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.02347, allocations: 35.92 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.02348, allocations: 7.984 kB / 0.8886 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.02384, allocations: 43.86 kB / 0.8887 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.02396, allocations: 60.17 kB / 0.8887 GB, free: 10.73 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.00026/0.02422, allocations: 203.1 kB / 0.8889 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.02431, allocations: 47.66 kB / 0.889 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.02441, allocations: 39.72 kB / 0.889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.02442, allocations: 0 / 0.889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.02442, allocations: 4 kB / 0.889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02443, allocations: 0 / 0.889 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.02625, allocations: 0.8136 MB / 0.8898 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.02625, allocations: 3.938 kB / 0.8898 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.02628, allocations: 4 kB / 0.8898 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02629, allocations: 0 / 0.8898 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.02635, allocations: 23.97 kB / 0.8898 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.02635, allocations: 0 / 0.8898 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02636, allocations: 0 / 0.8898 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.02759, allocations: 0.5104 MB / 0.8903 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.02796, allocations: 169.5 kB / 0.8905 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.02804, allocations: 16 kB / 0.8905 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.02835, allocations: 27.97 kB / 0.8905 GB, free: 8.801 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.02839, allocations: 7.984 kB / 0.8905 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.02848, allocations: 55.98 kB / 0.8906 GB, free: 8.738 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003752/0.02885, allocations: 315.1 kB / 0.8909 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02885, allocations: 0 / 0.8909 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004086/0.02926, allocations: 67.98 kB / 0.891 GB, free: 8.363 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002114/0.02947, allocations: 120.2 kB / 0.8911 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.03076, allocations: 0.6425 MB / 0.8917 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03076, allocations: 0 / 0.8917 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/0.03154, allocations: 111.9 kB / 0.8918 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.03201, allocations: 64.86 kB / 0.8919 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.03333, allocations: 0.5145 MB / 0.8924 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.03356, allocations: 178.9 kB / 0.8925 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.487e-05/0.03363, allocations: 17.48 kB / 0.8926 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.03369, allocations: 24.48 kB / 0.8926 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.03369, allocations: 0 / 0.8926 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of Templates: time 0.01265/0.04634, allocations: 6.4 MB / 0.8988 GB, free: 144 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.669744119979441]