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.001609/0.001609, allocations: 87.69 kB / 20.46 MB, free: 4.133 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.001662/0.001662, allocations: 172.9 kB / 23.82 MB, free: 0.7656 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 0.9708/0.9708, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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 1.816/1.816, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 1.623e-06/1.623e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.286e-05, allocations: 8.922 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002461/0.002494, allocations: 1.785 MB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.00373, allocations: 0.6109 MB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.003839, allocations: 0 / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003966, allocations: 17.2 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.004133, allocations: 27.8 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.005099, allocations: 376.3 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000563/0.005662, allocations: 0.6009 MB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.005775, allocations: 26.8 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.006244, allocations: 419.6 kB / 0.7909 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.006516, allocations: 134.1 kB / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.006583, allocations: 44 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.006641, allocations: 40 kB / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.00675, allocations: 131.6 kB / 0.7913 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.006887, allocations: 155.7 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.007276, allocations: 435.4 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.00728, allocations: 0 / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.007281, allocations: 0.7812 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.007288, allocations: 0 / 0.7918 GB, free: 7.648 MB / 0.7448 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.001053/0.008341, allocations: 0.947 MB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.008386, allocations: 12.03 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.008514, allocations: 64.66 kB / 0.7928 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.0091, allocations: 284.6 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.009142, allocations: 20.36 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.009189, allocations: 36.36 kB / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.009582, allocations: 210.5 kB / 0.7933 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.00959, allocations: 192 / 0.7933 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.009615, allocations: 12.36 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.009623, allocations: 384 / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.009732, allocations: 65.03 kB / 0.7934 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.01054, allocations: 0.6102 MB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.01078, allocations: 121.8 kB / 0.7941 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.01088, allocations: 68.91 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.0109, allocations: 4.656 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.01111, allocations: 186.1 kB / 0.7944 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.01112, allocations: 0 / 0.7944 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000559/0.01167, allocations: 381.9 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.01172, allocations: 63.33 kB / 0.7948 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.01202, allocations: 430.7 kB / 0.7952 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.01207, allocations: 45.69 kB / 0.7953 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.01215, allocations: 152.1 kB / 0.7954 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.01218, allocations: 43.67 kB / 0.7954 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.01233, allocations: 143.1 kB / 0.7956 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01245, allocations: 0.4923 MB / 0.7961 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.01269, allocations: 187.3 kB / 0.7962 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.0129, allocations: 249.1 kB / 0.7965 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.01316, allocations: 291.3 kB / 0.7968 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01316, allocations: 0 / 0.7968 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005969/0.01376, allocations: 0.5664 MB / 0.7973 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.01383, allocations: 93.23 kB / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01383, allocations: 4 kB / 0.7974 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01385, allocations: 4.188 kB / 0.7974 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01399, allocations: 35.92 kB / 0.7974 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.014, allocations: 7.984 kB / 0.7974 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.01422, allocations: 47.86 kB / 0.7975 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.01428, allocations: 59.98 kB / 0.7975 GB, free: 1.445 MB / 0.7448 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.0001546/0.01444, allocations: 199 kB / 0.7977 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.01449, allocations: 43.7 kB / 0.7978 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.01454, allocations: 39.72 kB / 0.7978 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01454, allocations: 4 kB / 0.7978 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01455, allocations: 0 / 0.7978 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01455, allocations: 4 kB / 0.7978 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.01523, allocations: 0.6965 MB / 0.7985 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01524, allocations: 0 / 0.7985 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.01527, allocations: 4 kB / 0.7985 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01528, allocations: 0 / 0.7985 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.0153, allocations: 23.97 kB / 0.7985 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.01531, allocations: 11.98 kB / 0.7985 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01531, allocations: 0 / 0.7985 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.01573, allocations: 474.2 kB / 0.799 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.0159, allocations: 169.8 kB / 0.7992 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.01595, allocations: 16 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.0161, allocations: 19.23 kB / 0.7992 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.01614, allocations: 11.98 kB / 0.7992 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.01619, allocations: 59.97 kB / 0.7993 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000171/0.01636, allocations: 283.1 kB / 0.7995 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01636, allocations: 0 / 0.7995 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002552/0.01661, allocations: 67.98 kB / 0.7996 GB, free: 15.28 MB / 0.7605 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.0001512/0.01676, allocations: 127.2 kB / 0.7997 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007826/0.01755, allocations: 449.5 kB / 0.8001 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01755, allocations: 384 / 0.8001 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01766, allocations: 90.34 kB / 0.8002 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.01797, allocations: 63.48 kB / 0.8003 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.01862, allocations: 0.4987 MB / 0.8008 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.01867, allocations: 91.8 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.01872, allocations: 17.48 kB / 0.8009 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.01875, allocations: 16.5 kB / 0.8009 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of SimCode: time 7.81e-07/0.01875, allocations: 0 / 0.8009 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.009092/0.02785, allocations: 7.033 MB / 0.8078 GB, free: 6.777 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114858106244355]