Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007454/0.007454, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.002022/0.002022, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.08/1.08, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.86 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4743, allocations: 82.03 MB / 0.6754 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003097/0.4774, allocations: 1.474 MB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4787, allocations: 434.9 kB / 0.6772 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.4787, allocations: 5.125 kB / 0.6773 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.4789, allocations: 15.8 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.479, allocations: 20.17 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.4798, allocations: 244.5 kB / 0.6775 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.4802, allocations: 332.6 kB / 0.6778 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.4803, allocations: 5.438 kB / 0.6778 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.4806, allocations: 201 kB / 0.678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.4808, allocations: 113.3 kB / 0.6781 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.4809, allocations: 18.94 kB / 0.6782 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.481, allocations: 19.56 kB / 0.6782 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.4811, allocations: 81.91 kB / 0.6783 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4813, allocations: 136.5 kB / 0.6784 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.4817, allocations: 300.5 kB / 0.6787 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4817, allocations: 1.219 kB / 0.6787 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4817, allocations: 0 / 0.6787 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4817, allocations: 0 / 0.6787 GB, free: 14.63 MB / 0.5137 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.001227/0.483, allocations: 0.7473 MB / 0.6794 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.483, allocations: 13.27 kB / 0.6794 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.4831, allocations: 32.25 kB / 0.6794 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.4832, allocations: 39.7 kB / 0.6795 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.4835, allocations: 266.8 kB / 0.6797 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.4836, allocations: 21.02 kB / 0.6798 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.4837, allocations: 19.03 kB / 0.6798 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/0.4846, allocations: 202 kB / 0.68 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4847, allocations: 0 / 0.68 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.4847, allocations: 4.922 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4847, allocations: 5.312 kB / 0.68 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.4854, allocations: 92.33 kB / 0.6801 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.4859, allocations: 321.5 kB / 0.6804 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4869, allocations: 176.1 kB / 0.6805 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.4876, allocations: 108.6 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.4877, allocations: 2.531 kB / 0.6806 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009646/0.4886, allocations: 214.3 kB / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.4887, allocations: 0 / 0.6809 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002551/0.4912, allocations: 453.6 kB / 0.6813 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.4913, allocations: 56.75 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.4916, allocations: 291 kB / 0.6816 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.4917, allocations: 39.83 kB / 0.6817 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.4918, allocations: 94.23 kB / 0.6817 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.4919, allocations: 49.83 kB / 0.6818 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.492, allocations: 94.27 kB / 0.6819 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.4923, allocations: 326.1 kB / 0.6822 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4925, allocations: 84.03 kB / 0.6823 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4927, allocations: 136.6 kB / 0.6824 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.4931, allocations: 243.9 kB / 0.6826 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4931, allocations: 0 / 0.6826 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006284/0.4937, allocations: 389 kB / 0.683 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.4938, allocations: 75.77 kB / 0.6831 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4938, allocations: 1.375 kB / 0.6831 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4938, allocations: 6.734 kB / 0.6831 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.494, allocations: 21.67 kB / 0.6831 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.494, allocations: 6.734 kB / 0.6831 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.4945, allocations: 61.03 kB / 0.6832 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.4945, allocations: 43.73 kB / 0.6832 GB, free: 11.13 MB / 0.5137 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.0001932/0.4947, allocations: 168.8 kB / 0.6834 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.4948, allocations: 22.86 kB / 0.6834 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.4949, allocations: 29.3 kB / 0.6834 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4949, allocations: 1.375 kB / 0.6834 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4949, allocations: 4 kB / 0.6834 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4949, allocations: 5.359 kB / 0.6834 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.4971, allocations: 0.6889 MB / 0.6841 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4971, allocations: 1.344 kB / 0.6841 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.4971, allocations: 6.656 kB / 0.6841 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.4971, allocations: 5.297 kB / 0.6841 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.4972, allocations: 12.7 kB / 0.6841 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4972, allocations: 1.469 kB / 0.6841 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4972, allocations: 0 / 0.6841 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4989, allocations: 460.1 kB / 0.6846 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.4992, allocations: 161 kB / 0.6847 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.4992, allocations: 13.45 kB / 0.6847 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.4998, allocations: 31.44 kB / 0.6848 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.4998, allocations: 13.11 kB / 0.6848 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.4999, allocations: 53.22 kB / 0.6848 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002653/0.5002, allocations: 207.2 kB / 0.685 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5002, allocations: 0 / 0.685 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003873/0.5006, allocations: 49.89 kB / 0.6851 GB, free: 9.836 MB / 0.5137 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.002409/0.503, allocations: 0.9851 MB / 0.686 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.5044, allocations: 375.4 kB / 0.6864 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5044, allocations: 0.9688 kB / 0.6864 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.5051, allocations: 124.4 kB / 0.6865 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5055, allocations: 28.27 kB / 0.6865 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.5098, allocations: 2.376 MB / 0.6889 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5102, allocations: 0.7467 MB / 0.6896 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.5103, allocations: 12.42 kB / 0.6896 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.5104, allocations: 25.5 kB / 0.6896 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.5104, allocations: 1.125 kB / 0.6896 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.5405, allocations: 4.814 MB / 0.6943 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.646, allocations: 5.562 kB / 0.6943 GB, free: 2.309 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)