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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005491/0.005491, allocations: 97.34 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.653/2.653, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001816, allocations: 71.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2743, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002416/0.2768, allocations: 1.519 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2779, allocations: 0.5345 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.278, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.2781, allocations: 19.8 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.2782, allocations: 23.86 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.2789, allocations: 314.9 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.2794, allocations: 0.4995 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.2795, allocations: 4 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.2798, allocations: 275.6 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.2801, allocations: 151.6 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/0.2802, allocations: 24 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.2803, allocations: 28 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2804, allocations: 115.7 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.2806, allocations: 187 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.2811, allocations: 422.4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2811, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2811, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.2811, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 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.001173/0.2823, allocations: 0.882 MB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2823, allocations: 15.97 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.2824, allocations: 38.73 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2825, allocations: 52.7 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.2828, allocations: 306.7 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.2829, allocations: 16.36 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.2829, allocations: 28.36 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/0.2838, allocations: 218 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2839, allocations: 3.938 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.2839, allocations: 0 / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.2839, allocations: 0 / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.2846, allocations: 107.8 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.285, allocations: 397.2 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/0.286, allocations: 170.5 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.2867, allocations: 108.8 kB / 1.226 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.2868, allocations: 4 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.2876, allocations: 227 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 3.316e-06/0.2877, allocations: 3.984 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002376/0.29, allocations: 495.1 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2901, allocations: 63.39 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.2905, allocations: 409.9 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2906, allocations: 41.69 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.2906, allocations: 97.44 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.2907, allocations: 35.75 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.2909, allocations: 125.5 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.291, allocations: 322.8 kB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2913, allocations: 115.9 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.2915, allocations: 182.9 kB / 1.228 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.2919, allocations: 282.6 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2919, allocations: 0 / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007864/0.2927, allocations: 494.5 kB / 1.229 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.2928, allocations: 95.25 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2928, allocations: 0 / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2928, allocations: 4.188 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.293, allocations: 23.98 kB / 1.229 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.293, allocations: 7.938 kB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.2934, allocations: 63.89 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.2935, allocations: 55.98 kB / 1.229 GB, free: 4.418 MB / 0.9825 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.0002069/0.2937, allocations: 193.3 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.2938, allocations: 47.64 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.2939, allocations: 43.73 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2939, allocations: 4 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2939, allocations: 0 / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2939, allocations: 0 / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.2959, allocations: 0.7444 MB / 1.23 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2959, allocations: 3.984 kB / 1.23 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.296, allocations: 7.938 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.296, allocations: 0 / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.296, allocations: 23.97 kB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.296, allocations: 3.984 kB / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.296, allocations: 0 / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.2977, allocations: 473.6 kB / 1.231 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.2979, allocations: 212.5 kB / 1.231 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.298, allocations: 12 kB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.2984, allocations: 31.97 kB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.2985, allocations: 7.984 kB / 1.231 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.2985, allocations: 59.97 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002791/0.2988, allocations: 295.1 kB / 1.231 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2988, allocations: 0 / 1.231 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003148/0.2991, allocations: 64 kB / 1.232 GB, free: 2.125 MB / 0.9825 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.001954/0.3011, allocations: 1.027 MB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.3023, allocations: 450.4 kB / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3023, allocations: 0 / 1.233 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.303, allocations: 122.8 kB / 1.233 GB, free: 500 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3034, allocations: 31.95 kB / 1.233 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.3073, allocations: 2.794 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3076, allocations: 0.7708 MB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.347e-05/0.3077, allocations: 21.06 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.3078, allocations: 23.42 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3078, allocations: 0 / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4304/0.7382, allocations: 6.12 MB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.804, allocations: 14.27 kB / 1.243 GB, free: 6.555 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)