Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001968/0.001968, allocations: 83.97 kB / 19.77 MB, free: 2.027 MB / 14.72 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.00255/0.00255, allocations: 158.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.678/2.678, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003365, allocations: 67.89 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3985, allocations: 169.9 MB / 1.117 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.004584/0.4031, allocations: 1.734 MB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.4053, allocations: 0.6039 MB / 1.12 GB, free: 140 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.4054, allocations: 7.875 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.4056, allocations: 11.86 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.4058, allocations: 35.78 kB / 1.12 GB, free: 84 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4071, allocations: 372.6 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.4082, allocations: 0.5931 MB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4083, allocations: 21.3 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.4092, allocations: 319.6 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.4098, allocations: 149.8 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.41, allocations: 40 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.4102, allocations: 40 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.4105, allocations: 131.6 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.4108, allocations: 183.2 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.4117, allocations: 0.6034 MB / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4117, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4117, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.4117, allocations: 0 / 1.122 GB, free: 13.66 MB / 1.076 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.001964/0.4137, allocations: 0.8378 MB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4137, allocations: 12.03 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.4139, allocations: 56.66 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.4146, allocations: 284.6 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.4146, allocations: 24.36 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.4147, allocations: 28.38 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4162, allocations: 249.9 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4162, allocations: 192 / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.4162, allocations: 11.92 kB / 1.124 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4163, allocations: 0 / 1.124 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4175, allocations: 134.3 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.4194, allocations: 0.5313 MB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.4209, allocations: 194.5 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.4222, allocations: 124.7 kB / 1.125 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.4222, allocations: 4 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.4237, allocations: 247 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.4237, allocations: 4 kB / 1.125 GB, free: 10.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.00416/0.4279, allocations: 0.5247 MB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.428, allocations: 67.39 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008495/0.4288, allocations: 449.8 kB / 1.126 GB, free: 9.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.4289, allocations: 41.69 kB / 1.126 GB, free: 9.684 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.4291, allocations: 101.4 kB / 1.126 GB, free: 9.578 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.4292, allocations: 35.8 kB / 1.126 GB, free: 9.543 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.4296, allocations: 145.3 kB / 1.126 GB, free: 9.395 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.4298, allocations: 330.8 kB / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005984/0.4304, allocations: 215.3 kB / 1.127 GB, free: 8.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/0.431, allocations: 282 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.4317, allocations: 293.2 kB / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4317, allocations: 0 / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001558/0.4333, allocations: 0.6102 MB / 1.128 GB, free: 7.574 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.4334, allocations: 87.38 kB / 1.128 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.4334, allocations: 8.188 kB / 1.128 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4334, allocations: 4 kB / 1.128 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.4337, allocations: 31.89 kB / 1.128 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.4337, allocations: 4 kB / 1.128 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.4344, allocations: 59.91 kB / 1.128 GB, free: 7.371 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.4346, allocations: 63.92 kB / 1.128 GB, free: 7.309 MB / 1.076 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.0004432/0.435, allocations: 220.3 kB / 1.128 GB, free: 7.082 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4352, allocations: 43.7 kB / 1.128 GB, free: 7.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.4353, allocations: 39.73 kB / 1.128 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.4353, allocations: 4 kB / 1.128 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4353, allocations: 0 / 1.128 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4353, allocations: 0 / 1.128 GB, free: 6.996 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.4387, allocations: 0.752 MB / 1.129 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4387, allocations: 4 kB / 1.129 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.4388, allocations: 3.984 kB / 1.129 GB, free: 6.195 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4388, allocations: 4 kB / 1.129 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.98e-05/0.4388, allocations: 19.98 kB / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4389, allocations: 0 / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4389, allocations: 0 / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.4416, allocations: 0.5112 MB / 1.13 GB, free: 5.645 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.4421, allocations: 181.4 kB / 1.13 GB, free: 5.465 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.4423, allocations: 23.98 kB / 1.13 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.443, allocations: 31.97 kB / 1.13 GB, free: 5.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.443, allocations: 11.92 kB / 1.13 GB, free: 5.398 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.4432, allocations: 63.97 kB / 1.13 GB, free: 5.336 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005829/0.4437, allocations: 323 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4437, allocations: 4 kB / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007231/0.4445, allocations: 67.98 kB / 1.13 GB, free: 4.953 MB / 1.076 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.0002544/0.4447, allocations: 127.5 kB / 1.13 GB, free: 4.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002155/0.4469, allocations: 0.5283 MB / 1.131 GB, free: 4.258 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4469, allocations: 0 / 1.131 GB, free: 4.258 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.4481, allocations: 123.9 kB / 1.131 GB, free: 4.137 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.4488, allocations: 41.61 kB / 1.131 GB, free: 4.098 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4513, allocations: 0.6217 MB / 1.132 GB, free: 3.449 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4516, allocations: 179 kB / 1.132 GB, free: 3.258 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.881e-05/0.4517, allocations: 13.48 kB / 1.132 GB, free: 3.242 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4518, allocations: 16.5 kB / 1.132 GB, free: 3.227 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.4518, allocations: 4 kB / 1.132 GB, free: 3.223 MB / 1.076 GB Notification: Performance of Templates: time 0.5528/1.005, allocations: 6.545 MB / 1.138 GB, free: 58.03 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.948776119970717]