Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001443/0.001443, allocations: 88.72 kB / 19.44 MB, free: 356 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.001671/0.001671, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.22/3.22, allocations: 429.6 MB / 0.673 GB, free: 3.859 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.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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8775 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.687e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002929/0.002956, allocations: 1.533 MB / 0.879 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004396, allocations: 0.5255 MB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.004456, allocations: 3.938 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.242e-05/0.004549, allocations: 3.938 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.004668, allocations: 33.44 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009133/0.005581, allocations: 315.8 kB / 0.8799 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006627/0.006243, allocations: 489.1 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.006281, allocations: 4 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.006903, allocations: 355.5 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.007253, allocations: 133 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.007353, allocations: 28 kB / 0.8809 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.007441, allocations: 28 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.00759, allocations: 119.7 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.007804, allocations: 136.4 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.008496, allocations: 454.7 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.0085, allocations: 0.6562 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008501, allocations: 1.594 kB / 0.8816 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.00851, allocations: 0 / 0.8816 GB, free: 2.418 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.001472/0.009982, allocations: 0.8067 MB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.01002, allocations: 10.03 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.01021, allocations: 56.7 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.01078, allocations: 256 kB / 0.8827 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.01083, allocations: 24.36 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.01093, allocations: 20.38 kB / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.01205, allocations: 239.1 kB / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01206, allocations: 192 / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.01209, allocations: 384 / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.0121, allocations: 384 / 0.8829 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008914/0.01299, allocations: 117.9 kB / 0.883 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.01345, allocations: 292.9 kB / 0.8833 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.01464, allocations: 182.4 kB / 0.8835 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008719/0.01551, allocations: 116.8 kB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.01555, allocations: 11.97 kB / 0.8836 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.01666, allocations: 234.7 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.01667, allocations: 4 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.002998/0.01966, allocations: 0.5283 MB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.01972, allocations: 59.41 kB / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.02025, allocations: 417.8 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.02033, allocations: 37.7 kB / 0.8849 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.02044, allocations: 97.44 kB / 0.8849 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.0205, allocations: 39.75 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.02074, allocations: 129.5 kB / 0.8851 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.02092, allocations: 318.8 kB / 0.8854 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.02129, allocations: 195.3 kB / 0.8856 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.0217, allocations: 255.1 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.02216, allocations: 271.7 kB / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.02216, allocations: 0 / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001126/0.02329, allocations: 0.5859 MB / 0.8867 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.0234, allocations: 79.38 kB / 0.8867 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.02341, allocations: 4 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.02343, allocations: 3.938 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.02362, allocations: 31.91 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.02363, allocations: 7.938 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.02422, allocations: 64.09 kB / 0.8869 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.02432, allocations: 59.98 kB / 0.8869 GB, free: 12.62 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.000266/0.02459, allocations: 195.7 kB / 0.8871 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.0247, allocations: 51.7 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.02477, allocations: 39.69 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02478, allocations: 0 / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.02478, allocations: 0 / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.02479, allocations: 7.922 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.0273, allocations: 0.709 MB / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.0273, allocations: 0 / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.02734, allocations: 7.938 kB / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.02734, allocations: 0 / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.02739, allocations: 23.91 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02739, allocations: 4 kB / 0.8879 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02739, allocations: 4 kB / 0.8879 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.02948, allocations: 0.4957 MB / 0.8884 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.02978, allocations: 137.5 kB / 0.8885 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.02986, allocations: 23.88 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.03039, allocations: 31.97 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.03044, allocations: 11.98 kB / 0.8886 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-05/0.03053, allocations: 59.97 kB / 0.8887 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003604/0.03089, allocations: 291.1 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.03089, allocations: 3.938 kB / 0.8889 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000409/0.0313, allocations: 67.98 kB / 0.889 GB, free: 10.41 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.0001827/0.03148, allocations: 123.2 kB / 0.8891 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.03312, allocations: 488.7 kB / 0.8896 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.03313, allocations: 0 / 0.8896 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.03402, allocations: 124.3 kB / 0.8897 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.03444, allocations: 53.75 kB / 0.8898 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.03618, allocations: 0.5831 MB / 0.8903 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.03638, allocations: 162.9 kB / 0.8905 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.01e-05/0.03646, allocations: 17.14 kB / 0.8905 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.03651, allocations: 20.48 kB / 0.8905 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.03651, allocations: 0 / 0.8905 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of Templates: time 0.01166/0.04817, allocations: 5.877 MB / 0.8963 GB, free: 2.855 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.117759002023377]