Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001491/0.001491, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.001784/0.001784, allocations: 161.7 kB / 23.55 MB, free: 0.8633 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 1.519/1.519, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.769/2.769, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/3.92e-05, allocations: 3.844 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004851/0.004891, allocations: 1.73 MB / 0.7881 GB, free: 9.914 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.007141, allocations: 0.6235 MB / 0.7887 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.007218, allocations: 0 / 0.7887 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.007365, allocations: 12.42 kB / 0.7887 GB, free: 9.281 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.007569, allocations: 36.28 kB / 0.7888 GB, free: 9.246 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.009009, allocations: 373.1 kB / 0.7891 GB, free: 8.883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.0101, allocations: 0.5931 MB / 0.7897 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.01023, allocations: 29.27 kB / 0.7897 GB, free: 8.262 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.01116, allocations: 420.5 kB / 0.7901 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.01162, allocations: 144.1 kB / 0.7903 GB, free: 7.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.01178, allocations: 40 kB / 0.7903 GB, free: 7.672 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.01191, allocations: 44.62 kB / 0.7904 GB, free: 7.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.01213, allocations: 123.7 kB / 0.7905 GB, free: 7.508 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.01243, allocations: 152.6 kB / 0.7906 GB, free: 7.359 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.01359, allocations: 0.6428 MB / 0.7912 GB, free: 6.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01359, allocations: 0.6562 kB / 0.7912 GB, free: 6.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/0.01359, allocations: 0 / 0.7912 GB, free: 6.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.0136, allocations: 1.156 kB / 0.7912 GB, free: 6.715 MB / 0.698 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.002126/0.01572, allocations: 0.8339 MB / 0.7921 GB, free: 5.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.01577, allocations: 13.66 kB / 0.7921 GB, free: 5.797 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002708/0.01604, allocations: 64.66 kB / 0.7921 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.01675, allocations: 283.8 kB / 0.7924 GB, free: 5.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.01683, allocations: 20.36 kB / 0.7924 GB, free: 5.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.01697, allocations: 33.58 kB / 0.7925 GB, free: 5.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.01877, allocations: 253.8 kB / 0.7927 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01878, allocations: 192 / 0.7927 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.01883, allocations: 384 / 0.7927 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.01883, allocations: 7.844 kB / 0.7927 GB, free: 5.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.02025, allocations: 135.8 kB / 0.7928 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.02232, allocations: 0.5391 MB / 0.7934 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.02419, allocations: 180.8 kB / 0.7935 GB, free: 4.242 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.02556, allocations: 126.3 kB / 0.7937 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.0256, allocations: 7.938 kB / 0.7937 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.02731, allocations: 257 kB / 0.7939 GB, free: 3.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/0.02731, allocations: 0 / 0.7939 GB, free: 3.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.004792/0.0321, allocations: 0.5399 MB / 0.7944 GB, free: 3.309 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.03219, allocations: 59.41 kB / 0.7945 GB, free: 3.238 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.0331, allocations: 443.5 kB / 0.7949 GB, free: 2.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.03323, allocations: 45.69 kB / 0.795 GB, free: 2.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.03339, allocations: 101.4 kB / 0.7951 GB, free: 2.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.03347, allocations: 43.73 kB / 0.7951 GB, free: 2.598 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/0.03386, allocations: 133.9 kB / 0.7952 GB, free: 2.461 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.03411, allocations: 322.8 kB / 0.7955 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.03478, allocations: 224 kB / 0.7957 GB, free: 1.906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.03552, allocations: 274 kB / 0.796 GB, free: 1.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.03628, allocations: 301.5 kB / 0.7963 GB, free: 1.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.03628, allocations: 7.875 kB / 0.7963 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001895/0.03818, allocations: 0.6275 MB / 0.7969 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.03837, allocations: 93.41 kB / 0.797 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.03838, allocations: 0 / 0.797 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.03841, allocations: 4 kB / 0.797 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.03867, allocations: 28.72 kB / 0.797 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.03868, allocations: 4 kB / 0.797 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.03959, allocations: 66.06 kB / 0.7971 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/0.03975, allocations: 59.98 kB / 0.7972 GB, free: 368 kB / 0.698 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.0004778/0.04023, allocations: 217.1 kB / 0.7974 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.04039, allocations: 53.91 kB / 0.7974 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.0405, allocations: 43.72 kB / 0.7975 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.04051, allocations: 0 / 0.7975 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.04051, allocations: 0 / 0.7975 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.04052, allocations: 7.984 kB / 0.7975 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.04436, allocations: 0.7431 MB / 0.7982 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.04436, allocations: 0 / 0.7982 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.04442, allocations: 7.984 kB / 0.7982 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.04443, allocations: 1.344 kB / 0.7982 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.04449, allocations: 19.98 kB / 0.7982 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.0445, allocations: 7.969 kB / 0.7982 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.0445, allocations: 0 / 0.7982 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/0.04774, allocations: 0.5259 MB / 0.7987 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005573/0.04829, allocations: 177.4 kB / 0.7989 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.04842, allocations: 17.25 kB / 0.7989 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.04922, allocations: 35.97 kB / 0.799 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.04928, allocations: 9.078 kB / 0.799 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.04941, allocations: 59.97 kB / 0.799 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006559/0.05007, allocations: 319.1 kB / 0.7993 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.05007, allocations: 0.6562 kB / 0.7993 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007613/0.05083, allocations: 73.38 kB / 0.7994 GB, free: 14.01 MB / 0.7136 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.0002812/0.05111, allocations: 121.8 kB / 0.7995 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.0535, allocations: 0.5249 MB / 0.8 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.05351, allocations: 0 / 0.8 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.05486, allocations: 136.7 kB / 0.8002 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.05564, allocations: 64.52 kB / 0.8002 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.05763, allocations: 0.6184 MB / 0.8008 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.05787, allocations: 182.8 kB / 0.801 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.046e-05/0.05794, allocations: 13.48 kB / 0.801 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.05801, allocations: 20.48 kB / 0.801 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.05801, allocations: 4 kB / 0.801 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.01272/0.07073, allocations: 6.396 MB / 0.8073 GB, free: 5.824 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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: 7.854407022008672]