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.001059/0.001059, allocations: 93.06 kB / 19.65 MB, free: 276 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.001323/0.001323, allocations: 165 kB / 23.01 MB, free: 1.551 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.148 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.249/2.249, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.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.445e-06/2.445e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.281e-05, allocations: 6.812 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003188/0.003221, allocations: 1.788 MB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.004874, allocations: 0.6196 MB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.713e-05/0.004971, allocations: 0 / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.005105, allocations: 12.61 kB / 0.8806 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.005269, allocations: 36.55 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.006341, allocations: 373.6 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009963/0.007337, allocations: 0.6009 MB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.007464, allocations: 21.28 kB / 0.8816 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.008118, allocations: 415.6 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.008466, allocations: 140.9 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.008569, allocations: 41.09 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.008667, allocations: 44 kB / 0.8822 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.008816, allocations: 131.6 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.008973, allocations: 140.4 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.009359, allocations: 442.7 kB / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.009363, allocations: 0.7812 kB / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.462e-06/0.009364, allocations: 0 / 0.8829 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.009371, allocations: 1.312 kB / 0.8829 GB, free: 1.469 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.001061/0.01043, allocations: 0.9455 MB / 0.8838 GB, free: 456 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.01048, allocations: 17.05 kB / 0.8838 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.01061, allocations: 60.66 kB / 0.8839 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.01094, allocations: 282.8 kB / 0.8841 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.01099, allocations: 25.48 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.01105, allocations: 32.36 kB / 0.8842 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.01149, allocations: 218 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.0115, allocations: 4.172 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.01152, allocations: 2.031 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01153, allocations: 4.375 kB / 0.8844 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01166, allocations: 67.02 kB / 0.8845 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.01256, allocations: 0.6125 MB / 0.8851 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01279, allocations: 127 kB / 0.8852 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.0129, allocations: 67.59 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.01293, allocations: 8 kB / 0.8853 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01316, allocations: 189 kB / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.674e-06/0.01316, allocations: 0 / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0006086/0.01377, allocations: 372.5 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.01382, allocations: 63.41 kB / 0.8859 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.01414, allocations: 434.7 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.01418, allocations: 41.69 kB / 0.8863 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.01425, allocations: 152.1 kB / 0.8865 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.01429, allocations: 39.73 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.01443, allocations: 143.1 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01456, allocations: 0.4961 MB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.01479, allocations: 183.3 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.01502, allocations: 254 kB / 0.8875 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01528, allocations: 279.3 kB / 0.8878 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01528, allocations: 4 kB / 0.8878 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000797/0.01608, allocations: 0.5755 MB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.232e-05/0.01615, allocations: 91.36 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01616, allocations: 0 / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.01618, allocations: 4 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01633, allocations: 31.92 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01634, allocations: 4 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.01653, allocations: 52.05 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.0166, allocations: 59.97 kB / 0.8886 GB, free: 11.24 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.0001481/0.01674, allocations: 191.1 kB / 0.8888 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.0168, allocations: 55.66 kB / 0.8888 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.01685, allocations: 39.72 kB / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01686, allocations: 0 / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01686, allocations: 0 / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01687, allocations: 0 / 0.8889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.01758, allocations: 0.7004 MB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01758, allocations: 4 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.01762, allocations: 4 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01762, allocations: 3.938 kB / 0.8896 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.01765, allocations: 23.97 kB / 0.8896 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01765, allocations: 0 / 0.8896 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01765, allocations: 0 / 0.8896 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.01806, allocations: 471.8 kB / 0.8901 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.01823, allocations: 169.5 kB / 0.8902 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.01829, allocations: 24 kB / 0.8902 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.01845, allocations: 15.98 kB / 0.8903 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.01848, allocations: 7.984 kB / 0.8903 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.01853, allocations: 59.97 kB / 0.8903 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001733/0.0187, allocations: 279.1 kB / 0.8906 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0187, allocations: 0 / 0.8906 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002452/0.01895, allocations: 71.98 kB / 0.8907 GB, free: 9.066 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.000138/0.01908, allocations: 124 kB / 0.8908 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.01958, allocations: 452.3 kB / 0.8912 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01958, allocations: 4 kB / 0.8912 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.0197, allocations: 83.95 kB / 0.8913 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.02, allocations: 65.55 kB / 0.8913 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.02063, allocations: 494.8 kB / 0.8918 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.02068, allocations: 87.8 kB / 0.8919 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.02072, allocations: 13.48 kB / 0.8919 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.02076, allocations: 20.48 kB / 0.8919 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.02076, allocations: 4 kB / 0.8919 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of Templates: time 0.007957/0.02872, allocations: 6.399 MB / 0.8982 GB, free: 1.199 MB / 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","",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.8367574298754334]