Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 197 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.44 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002801/0.3129, allocations: 1.521 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3141, allocations: 0.55 MB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.434e-05/0.3142, allocations: 4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.278e-05/0.3143, allocations: 7.875 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3145, allocations: 19.86 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008738/0.3154, allocations: 322.4 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.3159, allocations: 0.4956 MB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.316, allocations: 8 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.3164, allocations: 271.6 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.3167, allocations: 135.6 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3168, allocations: 28 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.3169, allocations: 28 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.317, allocations: 111.7 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3173, allocations: 191 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.3177, allocations: 426.9 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3177, allocations: 4 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3177, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3177, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 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.001315/0.3191, allocations: 0.8587 MB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3191, allocations: 8.625 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.3192, allocations: 42.73 kB / 1.058 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3193, allocations: 44.56 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.3197, allocations: 330 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.3198, allocations: 20.36 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.709e-05/0.3199, allocations: 24.36 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3209, allocations: 210 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3209, allocations: 7.938 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.321, allocations: 4 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.321, allocations: 3.984 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.3218, allocations: 103.9 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.3222, allocations: 385.3 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3233, allocations: 174.5 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/0.3241, allocations: 112.8 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3241, allocations: 7.938 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009515/0.325, allocations: 227 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.3251, allocations: 3.938 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002574/0.3276, allocations: 490.7 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3277, allocations: 55.41 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.3281, allocations: 417.8 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.3282, allocations: 37.7 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.3282, allocations: 97.44 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.3283, allocations: 39.59 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3285, allocations: 125.3 kB / 1.061 GB, free: 156 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3286, allocations: 326.8 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.3289, allocations: 115.9 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.3292, allocations: 169.9 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3296, allocations: 284 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3296, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008327/0.3304, allocations: 496.6 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.3305, allocations: 96.55 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3305, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3306, allocations: 4 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3308, allocations: 19.92 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3308, allocations: 4 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.3313, allocations: 67.92 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.3314, allocations: 63.97 kB / 1.062 GB, free: 14.45 MB / 0.8262 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.0002263/0.3316, allocations: 192 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.3317, allocations: 39.47 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.3318, allocations: 43.73 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3318, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3318, allocations: 0 / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3318, allocations: 4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.334, allocations: 0.7461 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.334, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.3341, allocations: 7.984 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3341, allocations: 4 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.3341, allocations: 15.98 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3341, allocations: 4 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3341, allocations: 3.938 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3359, allocations: 474.7 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.3361, allocations: 204.4 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.3362, allocations: 11.98 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/0.3367, allocations: 31.97 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3367, allocations: 7.984 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.3368, allocations: 59.92 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000311/0.3371, allocations: 295.1 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3371, allocations: 4 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003444/0.3375, allocations: 67.98 kB / 1.064 GB, free: 12.17 MB / 0.8262 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.002064/0.3396, allocations: 1.015 MB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.3408, allocations: 455 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3409, allocations: 4.125 kB / 1.066 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.3417, allocations: 119.8 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.342, allocations: 29.16 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.3462, allocations: 2.781 MB / 1.069 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.3466, allocations: 0.7747 MB / 1.069 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.726e-05/0.3467, allocations: 9.078 kB / 1.069 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.3468, allocations: 27.42 kB / 1.069 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.3468, allocations: 0 / 1.069 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.3705, allocations: 6.116 MB / 1.075 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.809, allocations: 9.375 kB / 1.075 GB, free: 0.6172 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)