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.0008268/0.0008268, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008061/0.0008061, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9043/0.9043, allocations: 177.1 MB / 203.5 MB, free: 5.758 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 1.767/1.767, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 3.276e-06/3.276e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.919e-05, allocations: 6.281 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002117/0.002147, allocations: 1.722 MB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003218, allocations: 0.6229 MB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.00329, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.003386, allocations: 11.81 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003581, allocations: 39.58 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.004286, allocations: 373.3 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.004707, allocations: 0.6009 MB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004809, allocations: 25.3 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.005188, allocations: 419.5 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.005413, allocations: 143.7 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.00547, allocations: 44 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-05/0.005521, allocations: 44 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.005619, allocations: 127.6 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.005728, allocations: 139.7 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.006181, allocations: 0.6429 MB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006184, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.006185, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.006192, allocations: 0 / 1.006 GB, free: 8 MB / 0.9636 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.0009021/0.007094, allocations: 0.8378 MB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.007131, allocations: 8.031 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.007227, allocations: 60.66 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.007515, allocations: 287.8 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.007548, allocations: 16.38 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.007598, allocations: 32.36 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.008149, allocations: 250 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.008158, allocations: 192 / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.008178, allocations: 384 / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.008183, allocations: 4.375 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.008566, allocations: 139.8 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.009304, allocations: 0.5352 MB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.009837, allocations: 193.8 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.0102, allocations: 124.7 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.01022, allocations: 4 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/0.01076, allocations: 251.1 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01076, allocations: 0 / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001422/0.01218, allocations: 0.5324 MB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.01224, allocations: 67.39 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.01265, allocations: 449.8 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.01271, allocations: 37.7 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.01279, allocations: 101.4 kB / 1.01 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.01283, allocations: 35.75 kB / 1.01 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.013, allocations: 145.3 kB / 1.01 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01311, allocations: 318.8 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.01349, allocations: 223.3 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.01377, allocations: 273.3 kB / 1.011 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.01408, allocations: 303.2 kB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01408, allocations: 0 / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006152/0.0147, allocations: 0.6084 MB / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.561e-05/0.01477, allocations: 91.38 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01477, allocations: 0 / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01479, allocations: 4 kB / 1.011 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.0149, allocations: 19.92 kB / 1.011 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01491, allocations: 4 kB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.01517, allocations: 63.89 kB / 1.012 GB, free: 1.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.01523, allocations: 68.03 kB / 1.012 GB, free: 1.66 MB / 0.9636 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.0002073/0.01544, allocations: 220.3 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.01549, allocations: 47.66 kB / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.01554, allocations: 43.72 kB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01555, allocations: 0 / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01555, allocations: 0 / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01556, allocations: 4 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.01676, allocations: 0.7479 MB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01676, allocations: 0 / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.01679, allocations: 4 kB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01679, allocations: 0 / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.01682, allocations: 23.97 kB / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01682, allocations: 4 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01682, allocations: 0 / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.01771, allocations: 0.5151 MB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.01791, allocations: 177.4 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.01797, allocations: 16 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.0182, allocations: 47.95 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.01823, allocations: 7.984 kB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.01827, allocations: 55.98 kB / 1.013 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002183/0.01849, allocations: 323.1 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01849, allocations: 0 / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000263/0.01875, allocations: 67.98 kB / 1.014 GB, free: 15.31 MB / 0.9792 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.0001448/0.0189, allocations: 123.2 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.01968, allocations: 0.5271 MB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01968, allocations: 0 / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.02005, allocations: 127.9 kB / 1.015 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.02036, allocations: 54.61 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.02135, allocations: 0.6611 MB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.02147, allocations: 175 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.02151, allocations: 16.5 kB / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of SimCode: time 1.092e-06/0.02151, allocations: 0 / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.004523/0.02604, allocations: 4.103 MB / 1.019 GB, free: 9.383 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] 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: 6.784333182498813]