Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7309 GB, free: 14 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=597,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.89 kB / 1.06 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 160.7 MB / 1.217 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003103/0.3105, allocations: 1.741 MB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3119, allocations: 0.6409 MB / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.3119, allocations: 0 / 1.219 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.312, allocations: 11.81 kB / 1.219 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3122, allocations: 43.56 kB / 1.219 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.3131, allocations: 359.1 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.3138, allocations: 0.5892 MB / 1.22 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.314, allocations: 25.09 kB / 1.22 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.3145, allocations: 323.5 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.3148, allocations: 155.6 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.315, allocations: 40 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3151, allocations: 40 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.3152, allocations: 127.6 kB / 1.221 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3155, allocations: 219 kB / 1.221 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3161, allocations: 0.5917 MB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3161, allocations: 3.938 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3161, allocations: 4 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.3161, allocations: 4 kB / 1.221 GB, free: 10.58 MB / 0.9669 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.001517/0.3176, allocations: 0.9209 MB / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3177, allocations: 8.031 kB / 1.222 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3178, allocations: 56.66 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.3183, allocations: 334.5 kB / 1.223 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.888e-05/0.3184, allocations: 20.36 kB / 1.223 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.3185, allocations: 32.3 kB / 1.223 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.3196, allocations: 249.9 kB / 1.223 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3196, allocations: 4.172 kB / 1.223 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3197, allocations: 3.938 kB / 1.223 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3197, allocations: 4 kB / 1.223 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.3205, allocations: 117.5 kB / 1.223 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3218, allocations: 0.6759 MB / 1.224 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3229, allocations: 170.5 kB / 1.224 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.3237, allocations: 104.8 kB / 1.224 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3238, allocations: 3.984 kB / 1.224 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.3248, allocations: 231.2 kB / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 3.096e-06/0.3248, allocations: 0 / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002743/0.3275, allocations: 0.4894 MB / 1.225 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3276, allocations: 59.41 kB / 1.225 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/0.3281, allocations: 445.9 kB / 1.225 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.3282, allocations: 41.69 kB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3283, allocations: 101.4 kB / 1.225 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.3284, allocations: 43.67 kB / 1.225 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.3286, allocations: 141.4 kB / 1.225 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3287, allocations: 330.8 kB / 1.226 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.329, allocations: 139.9 kB / 1.226 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.3294, allocations: 186.9 kB / 1.226 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.3298, allocations: 299.5 kB / 1.226 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3298, allocations: 0 / 1.226 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009599/0.3308, allocations: 0.5204 MB / 1.227 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3309, allocations: 91.38 kB / 1.227 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3309, allocations: 4 kB / 1.227 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3309, allocations: 4 kB / 1.227 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3311, allocations: 27.91 kB / 1.227 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3311, allocations: 4 kB / 1.227 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.3316, allocations: 55.8 kB / 1.227 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/0.3317, allocations: 68.02 kB / 1.227 GB, free: 4.316 MB / 0.9669 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.0003199/0.3321, allocations: 227.1 kB / 1.227 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.3321, allocations: 35.77 kB / 1.227 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.578e-05/0.3322, allocations: 39.8 kB / 1.227 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3322, allocations: 4 kB / 1.227 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3322, allocations: 0 / 1.227 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3322, allocations: 3.984 kB / 1.227 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.3347, allocations: 0.7978 MB / 1.228 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3347, allocations: 0 / 1.228 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.3347, allocations: 7.984 kB / 1.228 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3347, allocations: 0 / 1.228 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3348, allocations: 19.92 kB / 1.228 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.3348, allocations: 15.92 kB / 1.228 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3348, allocations: 3.938 kB / 1.228 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3366, allocations: 479.5 kB / 1.229 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.337, allocations: 244.7 kB / 1.229 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.3371, allocations: 12 kB / 1.229 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.3376, allocations: 39.89 kB / 1.229 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3376, allocations: 4 kB / 1.229 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.3377, allocations: 59.97 kB / 1.229 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003848/0.338, allocations: 319.1 kB / 1.229 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.338, allocations: 4 kB / 1.229 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004659/0.3385, allocations: 75.95 kB / 1.229 GB, free: 1.863 MB / 0.9669 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.0002517/0.3388, allocations: 123.9 kB / 1.23 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.3402, allocations: 438.5 kB / 1.23 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3402, allocations: 384 / 1.23 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007811/0.341, allocations: 121.5 kB / 1.23 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3414, allocations: 33.53 kB / 1.23 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3433, allocations: 0.6541 MB / 1.231 GB, free: 452 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3437, allocations: 0.7825 MB / 1.232 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.3438, allocations: 19.42 kB / 1.232 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.3438, allocations: 0 / 1.232 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.007365/0.3511, allocations: 4.101 MB / 1.236 GB, free: 11.47 MB / 0.9825 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time