Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_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.001079/0.001078, allocations: 109.4 kB / 15.69 MB, free: 128 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.001111/0.001111, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.272/1.272, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 282.7 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9155/0.9155, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 89.52 kB / 0.5955 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 86.98 MB / 0.6804 GB, free: 492 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002495/0.1445, allocations: 1.481 MB / 0.6819 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.1454, allocations: 427.1 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.1455, allocations: 0 / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.1456, allocations: 15.86 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.1457, allocations: 20.23 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006538/0.1464, allocations: 254.2 kB / 0.6826 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.1467, allocations: 319.5 kB / 0.6829 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1468, allocations: 16.25 kB / 0.6829 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.147, allocations: 203.6 kB / 0.6831 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1472, allocations: 112 kB / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.1473, allocations: 20 kB / 0.6832 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.1474, allocations: 20 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.1475, allocations: 79.78 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1476, allocations: 127.4 kB / 0.6834 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1479, allocations: 295 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1479, allocations: 0 / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1479, allocations: 0 / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1479, allocations: 0 / 0.6837 GB, free: 13.14 MB / 494.1 MB 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.0009086/0.1488, allocations: 0.7384 MB / 0.6844 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1488, allocations: 15.97 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.1e-05/0.1489, allocations: 38.73 kB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.149, allocations: 40.56 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1492, allocations: 259.6 kB / 0.6848 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1493, allocations: 20.12 kB / 0.6848 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.1494, allocations: 19.98 kB / 0.6848 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/0.1503, allocations: 200.6 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1503, allocations: 0 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1503, allocations: 0 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1503, allocations: 7.938 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.151, allocations: 99.92 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.1514, allocations: 317.4 kB / 0.6854 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1524, allocations: 170.4 kB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.1531, allocations: 112.7 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1531, allocations: 4 kB / 0.6857 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009064/0.154, allocations: 220.9 kB / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.154, allocations: 0 / 0.6859 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002365/0.1564, allocations: 449 kB / 0.6863 GB, free: 10.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1565, allocations: 55.41 kB / 0.6864 GB, free: 10.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1567, allocations: 287 kB / 0.6866 GB, free: 9.898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.1568, allocations: 41.69 kB / 0.6867 GB, free: 9.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.1568, allocations: 93.05 kB / 0.6868 GB, free: 9.758 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1569, allocations: 39.55 kB / 0.6868 GB, free: 9.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.157, allocations: 97.48 kB / 0.6869 GB, free: 9.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.1571, allocations: 322.8 kB / 0.6872 GB, free: 9.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1573, allocations: 83.89 kB / 0.6873 GB, free: 9.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.1575, allocations: 134.5 kB / 0.6874 GB, free: 9.059 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1578, allocations: 238.2 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1578, allocations: 0 / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005683/0.1584, allocations: 402.7 kB / 0.688 GB, free: 8.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.1584, allocations: 75.39 kB / 0.6881 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1585, allocations: 4 kB / 0.6881 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1585, allocations: 0 / 0.6881 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1586, allocations: 19.98 kB / 0.6881 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1587, allocations: 11.92 kB / 0.6881 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.1591, allocations: 55.88 kB / 0.6882 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.1592, allocations: 47.97 kB / 0.6882 GB, free: 8.16 MB / 494.1 MB 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.0001743/0.1593, allocations: 176.6 kB / 0.6884 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1594, allocations: 23.72 kB / 0.6884 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1595, allocations: 26.3 kB / 0.6884 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1595, allocations: 4 kB / 0.6884 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1595, allocations: 0 / 0.6884 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1595, allocations: 3.938 kB / 0.6885 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.1614, allocations: 0.6915 MB / 0.6891 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1614, allocations: 0 / 0.6891 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.1615, allocations: 7.938 kB / 0.6891 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1615, allocations: 0 / 0.6891 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.1615, allocations: 23.97 kB / 0.6892 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1615, allocations: 8 kB / 0.6892 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1615, allocations: 0 / 0.6892 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.1632, allocations: 447.4 kB / 0.6896 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1633, allocations: 152.7 kB / 0.6897 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.1634, allocations: 16 kB / 0.6898 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.1639, allocations: 27.95 kB / 0.6898 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.1639, allocations: 11.94 kB / 0.6898 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.164, allocations: 43.97 kB / 0.6898 GB, free: 6.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1641, allocations: 209.9 kB / 0.69 GB, free: 6.207 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1641, allocations: 7.938 kB / 0.69 GB, free: 6.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1645, allocations: 48 kB / 0.6901 GB, free: 6.152 MB / 494.1 MB 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.001858/0.1663, allocations: 0.9995 MB / 0.6911 GB, free: 5.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1674, allocations: 374.5 kB / 0.6914 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1674, allocations: 384 / 0.6914 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.1681, allocations: 117.5 kB / 0.6915 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.1685, allocations: 27.77 kB / 0.6916 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.1716, allocations: 2.359 MB / 0.6939 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1719, allocations: 0.7396 MB / 0.6946 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.172, allocations: 17.08 kB / 0.6946 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.172, allocations: 23.42 kB / 0.6946 GB, free: 1.309 MB / 494.1 MB Notification: Performance of SimCode: time 2.304e-06/0.172, allocations: 0 / 0.6946 GB, free: 1.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.1913, allocations: 4.815 MB / 0.6993 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.114, allocations: 8.625 kB / 0.6993 GB, free: 12.66 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)