Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 79.83 kB / 1.057 GB, free: 1.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3118, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003303/0.3151, allocations: 1.737 MB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3165, allocations: 0.6293 MB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.3166, allocations: 4 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3167, allocations: 15.8 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.3168, allocations: 35.56 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.3177, allocations: 367.2 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007043/0.3184, allocations: 0.597 MB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3185, allocations: 21.11 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.319, allocations: 315.5 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.3193, allocations: 163.6 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3194, allocations: 40 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3195, allocations: 40 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3197, allocations: 127.6 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.3199, allocations: 215 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/0.3205, allocations: 0.5956 MB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3205, allocations: 7.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3205, allocations: 3.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3205, allocations: 0 / 1.219 GB, free: 12 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.001462/0.322, allocations: 0.9131 MB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.322, allocations: 15.97 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3222, allocations: 56.66 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.3226, allocations: 338.5 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.3227, allocations: 24.31 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.3227, allocations: 32.38 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.3238, allocations: 240 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3238, allocations: 4.172 kB / 1.22 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3239, allocations: 11.94 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3239, allocations: 0 / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.3247, allocations: 111.9 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3261, allocations: 0.6837 MB / 1.221 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.3272, allocations: 162.5 kB / 1.221 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.328, allocations: 108.8 kB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.328, allocations: 4 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.329, allocations: 231.2 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3291, allocations: 0 / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002734/0.3318, allocations: 0.4894 MB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.3318, allocations: 63.39 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.3324, allocations: 441.9 kB / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.3325, allocations: 45.69 kB / 1.223 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3326, allocations: 101.4 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.3326, allocations: 43.69 kB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3329, allocations: 133.4 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.333, allocations: 334.8 kB / 1.223 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3333, allocations: 139.9 kB / 1.223 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.3337, allocations: 182.9 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.3341, allocations: 303 kB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3341, allocations: 4 kB / 1.224 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009513/0.3351, allocations: 0.5124 MB / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3352, allocations: 99.56 kB / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3352, allocations: 0 / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.3352, allocations: 4 kB / 1.225 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3354, allocations: 19.92 kB / 1.225 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3354, allocations: 7.984 kB / 1.225 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.3359, allocations: 63.8 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.336, allocations: 59.98 kB / 1.225 GB, free: 5.742 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.0002998/0.3363, allocations: 224.3 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.3364, allocations: 39.75 kB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.3365, allocations: 39.8 kB / 1.225 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3365, allocations: 3.938 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3365, allocations: 0 / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3365, allocations: 0 / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.3388, allocations: 0.7978 MB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3388, allocations: 0 / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.3389, allocations: 4 kB / 1.226 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3389, allocations: 7.984 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.3389, allocations: 19.98 kB / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.3389, allocations: 3.938 kB / 1.226 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3389, allocations: 11.94 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.3408, allocations: 479.4 kB / 1.226 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.3412, allocations: 248.7 kB / 1.226 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.3412, allocations: 16 kB / 1.226 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.3417, allocations: 31.91 kB / 1.227 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3418, allocations: 11.98 kB / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.3419, allocations: 55.97 kB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003778/0.3422, allocations: 319.1 kB / 1.227 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 0 / 1.227 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004442/0.3427, allocations: 71.94 kB / 1.227 GB, free: 3.297 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.0002392/0.3429, allocations: 135.9 kB / 1.227 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.3444, allocations: 442.5 kB / 1.228 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3444, allocations: 0 / 1.228 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.3452, allocations: 120.2 kB / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3456, allocations: 36.34 kB / 1.228 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3473, allocations: 0.6503 MB / 1.228 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.3479, allocations: 0.7864 MB / 1.229 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.3479, allocations: 19.42 kB / 1.229 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of SimCode: time 8.02e-07/0.348, allocations: 0 / 1.229 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of Templates: time 0.007101/0.3551, allocations: 4.084 MB / 1.233 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 [Calling sys.exit(0), Time elapsed: 10.426910027163103]