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.001505/0.001505, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001369/0.001369, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9306/0.9306, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.074 MB / 0.6355 GB " [Timeout remaining time 177] 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.733e-06/1.733e-06, allocations: 0 / 0.8781 GB, free: 5.594 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.022e-05, allocations: 2.312 kB / 0.8781 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002722/0.002742, allocations: 1.567 MB / 0.8797 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004233, allocations: 0.534 MB / 0.8802 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.004303, allocations: 0 / 0.8802 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.004413, allocations: 8.969 kB / 0.8802 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.004545, allocations: 33.44 kB / 0.8802 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008893/0.005434, allocations: 320.5 kB / 0.8805 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.006058, allocations: 492.7 kB / 0.881 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.006122, allocations: 4 kB / 0.881 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.006603, allocations: 355.6 kB / 0.8813 GB, free: 2.32 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.006824, allocations: 126.8 kB / 0.8815 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.006875, allocations: 28 kB / 0.8815 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.006925, allocations: 27.94 kB / 0.8815 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.007035, allocations: 125.5 kB / 0.8816 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.00715, allocations: 127.7 kB / 0.8818 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.007485, allocations: 382.9 kB / 0.8821 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007489, allocations: 0 / 0.8821 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.794e-06/0.007491, allocations: 0 / 0.8821 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.007497, allocations: 2.75 kB / 0.8821 GB, free: 1.523 MB / 0.7917 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.0009217/0.008419, allocations: 0.9066 MB / 0.883 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.008459, allocations: 12.03 kB / 0.883 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.008567, allocations: 52.7 kB / 0.8831 GB, free: 488 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.008824, allocations: 262.8 kB / 0.8833 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.008859, allocations: 16.36 kB / 0.8833 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.008907, allocations: 25.09 kB / 0.8834 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.009285, allocations: 208.6 kB / 0.8836 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.009292, allocations: 192 / 0.8836 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.009313, allocations: 4.359 kB / 0.8836 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.00932, allocations: 4.375 kB / 0.8836 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.009423, allocations: 63.91 kB / 0.8836 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.009698, allocations: 312.3 kB / 0.8839 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.009907, allocations: 134.9 kB / 0.8841 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01001, allocations: 63.66 kB / 0.8841 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.01003, allocations: 4 kB / 0.8841 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.01023, allocations: 184.8 kB / 0.8843 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.01023, allocations: 0 / 0.8843 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.000537/0.01077, allocations: 378.7 kB / 0.8847 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.01081, allocations: 59.39 kB / 0.8847 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.01107, allocations: 426.6 kB / 0.8851 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.01111, allocations: 41.69 kB / 0.8852 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.01117, allocations: 140.2 kB / 0.8853 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.0112, allocations: 35.75 kB / 0.8853 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.01132, allocations: 131.1 kB / 0.8854 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.01145, allocations: 0.4962 MB / 0.8859 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.01165, allocations: 175.3 kB / 0.8861 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.01187, allocations: 250.7 kB / 0.8863 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.0121, allocations: 271.1 kB / 0.8866 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01211, allocations: 0 / 0.8866 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005552/0.01266, allocations: 0.5702 MB / 0.8872 GB, free: 12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.01271, allocations: 83.31 kB / 0.8872 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01272, allocations: 0 / 0.8872 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01273, allocations: 4 kB / 0.8872 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.01287, allocations: 31.98 kB / 0.8873 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.01288, allocations: 15.86 kB / 0.8873 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.01306, allocations: 44.11 kB / 0.8873 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.01312, allocations: 59.98 kB / 0.8874 GB, free: 11.75 MB / 0.8073 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.0001222/0.01324, allocations: 186.5 kB / 0.8876 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.01329, allocations: 43.72 kB / 0.8876 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.01333, allocations: 39.67 kB / 0.8876 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01333, allocations: 0 / 0.8876 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01334, allocations: 3.938 kB / 0.8876 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01334, allocations: 3.938 kB / 0.8876 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.01403, allocations: 0.6697 MB / 0.8883 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01403, allocations: 0 / 0.8883 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.01406, allocations: 7.938 kB / 0.8883 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01406, allocations: 4 kB / 0.8883 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.01409, allocations: 23.91 kB / 0.8883 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01409, allocations: 0 / 0.8883 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01409, allocations: 0 / 0.8883 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.01448, allocations: 466.7 kB / 0.8888 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.01463, allocations: 125.5 kB / 0.8889 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.01468, allocations: 15.94 kB / 0.8889 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.01484, allocations: 23.97 kB / 0.8889 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.01487, allocations: 7.984 kB / 0.8889 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.01492, allocations: 55.98 kB / 0.889 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001552/0.01507, allocations: 275.1 kB / 0.8893 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01507, allocations: 0 / 0.8893 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002233/0.0153, allocations: 63.98 kB / 0.8893 GB, free: 9.688 MB / 0.8073 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.0001096/0.0154, allocations: 127.2 kB / 0.8894 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.01587, allocations: 430.4 kB / 0.8899 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01588, allocations: 0 / 0.8899 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.01599, allocations: 83.95 kB / 0.8899 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01625, allocations: 52.44 kB / 0.89 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.01698, allocations: 489 kB / 0.8905 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.01703, allocations: 87.81 kB / 0.8905 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01707, allocations: 13.14 kB / 0.8905 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.0171, allocations: 24.42 kB / 0.8906 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.0171, allocations: 0 / 0.8906 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of Templates: time 0.007161/0.02426, allocations: 5.878 MB / 0.8963 GB, free: 2.391 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.264643888920546]