Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001368/0.001368, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001522/0.001522, allocations: 205.2 kB / 22.99 MB, free: 4.957 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.002099/0.002099, allocations: 62.52 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4126, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003326/0.416, allocations: 1.726 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4176, allocations: 0.6069 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.4177, allocations: 3.938 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.4178, allocations: 11.86 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.4179, allocations: 35.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.4188, allocations: 362.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006402/0.4195, allocations: 0.6048 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4196, allocations: 25.23 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.42, allocations: 315.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.4203, allocations: 172.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.4204, allocations: 44 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4205, allocations: 40 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.4207, allocations: 123.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.4209, allocations: 183.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.4215, allocations: 0.5995 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4215, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.068e-06/0.4215, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.4215, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 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.001543/0.4231, allocations: 0.8417 MB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4231, allocations: 8.031 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4233, allocations: 56.66 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.4238, allocations: 280.6 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.4238, allocations: 24.36 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.4239, allocations: 24.38 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.4251, allocations: 234 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4251, allocations: 192 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.4251, allocations: 11.92 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.4251, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.426, allocations: 119.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.4275, allocations: 0.5352 MB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4287, allocations: 170.4 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.4296, allocations: 112.8 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.4296, allocations: 0 / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.4307, allocations: 233.5 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.4307, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002922/0.4337, allocations: 0.4895 MB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.4337, allocations: 63.39 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.4343, allocations: 445.9 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.4344, allocations: 45.62 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4345, allocations: 101.4 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.4346, allocations: 35.72 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.4348, allocations: 145.4 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.435, allocations: 326.8 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.4354, allocations: 219.3 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.4358, allocations: 277.2 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.4362, allocations: 291.9 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4362, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009965/0.4372, allocations: 0.5938 MB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.962e-05/0.4373, allocations: 87.38 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4374, allocations: 4 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4374, allocations: 4.188 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.4376, allocations: 31.91 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.4376, allocations: 7.938 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.4381, allocations: 55.84 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/0.4382, allocations: 55.98 kB / 1.338 GB, free: 5.953 MB / 1.029 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.0002928/0.4385, allocations: 220.8 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.4386, allocations: 47.7 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.407e-05/0.4387, allocations: 39.73 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.4387, allocations: 7.984 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4387, allocations: 4 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4387, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.4411, allocations: 0.7182 MB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4412, allocations: 0 / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.4412, allocations: 7.984 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4412, allocations: 4 kB / 1.339 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.4412, allocations: 15.98 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.4412, allocations: 0 / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4412, allocations: 0 / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4432, allocations: 495.4 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.4436, allocations: 173.5 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.4437, allocations: 19.98 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.4442, allocations: 27.97 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4443, allocations: 23.8 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.4444, allocations: 55.97 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003693/0.4447, allocations: 327 kB / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4447, allocations: 0 / 1.34 GB, free: 3.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004052/0.4451, allocations: 71.92 kB / 1.34 GB, free: 3.664 MB / 1.029 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.0001977/0.4453, allocations: 123.9 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.4468, allocations: 0.5088 MB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4468, allocations: 0 / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.4477, allocations: 115.9 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4482, allocations: 39.39 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4499, allocations: 0.5941 MB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.4501, allocations: 186.9 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.129e-05/0.4502, allocations: 13.42 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.4502, allocations: 19.44 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/0.4502, allocations: 0 / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of Templates: time 0.01129/0.4615, allocations: 6.606 MB / 1.348 GB, free: 11.32 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.437336314993445]