Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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.0009763/0.0009763, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001159/0.001159, allocations: 166.8 kB / 24.87 MB, free: 9.223 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.9853/0.9853, allocations: 177.1 MB / 205.3 MB, free: 5.535 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.813/1.813, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.754e-05, allocations: 2.812 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002205/0.002232, allocations: 1.563 MB / 0.7898 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003318, allocations: 0.5319 MB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.346e-05/0.003412, allocations: 1.406 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003514, allocations: 11.86 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003631, allocations: 27.86 kB / 0.7904 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.004396, allocations: 312.5 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.004874, allocations: 488.6 kB / 0.7911 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.004916, allocations: 4 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.005306, allocations: 359.6 kB / 0.7915 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.005532, allocations: 128.8 kB / 0.7916 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.195e-05/0.005584, allocations: 29.62 kB / 0.7916 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.636e-05/0.00563, allocations: 24 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.851e-05/0.005729, allocations: 119.7 kB / 0.7918 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.005831, allocations: 123.7 kB / 0.7919 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.00614, allocations: 386.8 kB / 0.7922 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006143, allocations: 0.9688 kB / 0.7922 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006145, allocations: 0 / 0.7922 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.006151, allocations: 1.062 kB / 0.7922 GB, free: 8.211 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009513/0.007103, allocations: 0.9105 MB / 0.7931 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.00715, allocations: 13.62 kB / 0.7931 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.007254, allocations: 56.66 kB / 0.7932 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004674/0.007722, allocations: 258.8 kB / 0.7934 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.007758, allocations: 20.36 kB / 0.7935 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.007806, allocations: 29.83 kB / 0.7935 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.008128, allocations: 201.6 kB / 0.7937 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.008135, allocations: 192 / 0.7937 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.008151, allocations: 384 / 0.7937 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.008159, allocations: 5.562 kB / 0.7937 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.00824, allocations: 58 kB / 0.7937 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.008506, allocations: 253 kB / 0.794 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.008691, allocations: 111.3 kB / 0.7941 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.008778, allocations: 64.53 kB / 0.7942 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.008797, allocations: 7.938 kB / 0.7942 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.008977, allocations: 170.2 kB / 0.7943 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.093e-06/0.008978, allocations: 0 / 0.7943 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004828/0.009461, allocations: 361.3 kB / 0.7947 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.009501, allocations: 67.84 kB / 0.7947 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.009736, allocations: 415.8 kB / 0.7951 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.009774, allocations: 41.69 kB / 0.7952 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.009839, allocations: 148.1 kB / 0.7953 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.009877, allocations: 39.7 kB / 0.7953 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.01001, allocations: 131.9 kB / 0.7955 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01016, allocations: 0.5 MB / 0.796 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.01035, allocations: 167.3 kB / 0.7961 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01053, allocations: 229.1 kB / 0.7963 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.01074, allocations: 263 kB / 0.7966 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.01074, allocations: 4 kB / 0.7966 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005231/0.01126, allocations: 0.5274 MB / 0.7971 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.01133, allocations: 85.09 kB / 0.7972 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01133, allocations: 3.984 kB / 0.7972 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01135, allocations: 4 kB / 0.7972 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.01147, allocations: 35.91 kB / 0.7972 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01148, allocations: 4 kB / 0.7972 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.01166, allocations: 51.73 kB / 0.7973 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.01171, allocations: 60.17 kB / 0.7973 GB, free: 2.664 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.000152/0.01187, allocations: 186.5 kB / 0.7975 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.01192, allocations: 51.75 kB / 0.7976 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.01196, allocations: 27.69 kB / 0.7976 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01196, allocations: 4 kB / 0.7976 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01197, allocations: 0 / 0.7976 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01197, allocations: 0 / 0.7976 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.01261, allocations: 0.6151 MB / 0.7982 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01261, allocations: 0 / 0.7982 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.01265, allocations: 7.984 kB / 0.7982 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01265, allocations: 0 / 0.7982 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.01267, allocations: 15.98 kB / 0.7982 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.01267, allocations: 7.984 kB / 0.7982 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.01268, allocations: 3.938 kB / 0.7982 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.01305, allocations: 454.9 kB / 0.7987 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.0132, allocations: 121.5 kB / 0.7988 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.01325, allocations: 20 kB / 0.7988 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.01339, allocations: 15.98 kB / 0.7988 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.01342, allocations: 11.92 kB / 0.7988 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.01347, allocations: 59.97 kB / 0.7989 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001287/0.01359, allocations: 263 kB / 0.7991 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01359, allocations: 3.938 kB / 0.7991 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002419/0.01384, allocations: 64 kB / 0.7992 GB, free: 0.6992 MB / 0.7448 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001319/0.01397, allocations: 120.9 kB / 0.7993 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.01436, allocations: 409.6 kB / 0.7997 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01436, allocations: 0 / 0.7997 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.01447, allocations: 79.91 kB / 0.7998 GB, free: 48 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.01476, allocations: 57.53 kB / 0.7998 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.01561, allocations: 482.8 kB / 0.8003 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.01567, allocations: 83.81 kB / 0.8004 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.01571, allocations: 17.14 kB / 0.8004 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.01588, allocations: 138.2 kB / 0.8005 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.01588, allocations: 0 / 0.8005 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.007656/0.02354, allocations: 5.508 MB / 0.8059 GB, free: 9.695 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_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.267774382140487]