Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001308/0.001308, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001495/0.001495, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002555/0.002555, allocations: 281.8 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.249/1.249, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002914/0.002914, allocations: 103.4 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1661, allocations: 95.39 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002993/0.1691, allocations: 1.522 MB / 0.8341 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1704, allocations: 0.5288 MB / 0.8346 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.1705, allocations: 0 / 0.8346 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.505e-05/0.1706, allocations: 7.875 kB / 0.8346 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1707, allocations: 35.84 kB / 0.8347 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.1716, allocations: 311 kB / 0.835 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.1721, allocations: 491.4 kB / 0.8354 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.1721, allocations: 7.984 kB / 0.8354 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.1725, allocations: 271.7 kB / 0.8357 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1729, allocations: 139.6 kB / 0.8358 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.804e-05/0.173, allocations: 28 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.1731, allocations: 24 kB / 0.8359 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1732, allocations: 119.6 kB / 0.836 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1734, allocations: 159.2 kB / 0.8362 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.1739, allocations: 430.7 kB / 0.8366 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1739, allocations: 3.984 kB / 0.8366 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1739, allocations: 0 / 0.8366 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.174, allocations: 0 / 0.8366 GB, free: 4.254 MB / 0.5762 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.001339/0.1753, allocations: 0.795 MB / 0.8373 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1753, allocations: 13.34 kB / 0.8374 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.1754, allocations: 46.73 kB / 0.8374 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1755, allocations: 48.7 kB / 0.8374 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.176, allocations: 260.7 kB / 0.8377 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.176, allocations: 16.38 kB / 0.8377 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.1761, allocations: 28.3 kB / 0.8377 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.1771, allocations: 214 kB / 0.8379 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1771, allocations: 7.938 kB / 0.838 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.1771, allocations: 8 kB / 0.838 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1771, allocations: 0 / 0.838 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007162/0.1778, allocations: 95.92 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.1783, allocations: 304.5 kB / 0.8383 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009962/0.1793, allocations: 170.5 kB / 0.8385 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/0.18, allocations: 104.7 kB / 0.8386 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1801, allocations: 4 kB / 0.8386 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009755/0.181, allocations: 224 kB / 0.8388 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.334e-06/0.181, allocations: 0 / 0.8388 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002637/0.1837, allocations: 491.2 kB / 0.8393 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.1838, allocations: 63.39 kB / 0.8393 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.1844, allocations: 413.8 kB / 0.8397 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.041e-05/0.1845, allocations: 41.69 kB / 0.8398 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.1846, allocations: 93.45 kB / 0.8399 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.1847, allocations: 43.69 kB / 0.8399 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.1849, allocations: 125.5 kB / 0.84 GB, free: 496 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.1851, allocations: 322.8 kB / 0.8403 GB, free: 164 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.1854, allocations: 191.4 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.1858, allocations: 246.6 kB / 0.8408 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.1863, allocations: 275.2 kB / 0.841 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1863, allocations: 0 / 0.841 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000921/0.1872, allocations: 0.547 MB / 0.8416 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.1873, allocations: 83.31 kB / 0.8416 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1873, allocations: 4 kB / 0.8416 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1873, allocations: 4 kB / 0.8416 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1875, allocations: 19.92 kB / 0.8417 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1875, allocations: 4 kB / 0.8417 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.188, allocations: 63.77 kB / 0.8417 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1881, allocations: 79.91 kB / 0.8418 GB, free: 14.54 MB / 0.5919 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.0003038/0.1884, allocations: 192.4 kB / 0.842 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.1884, allocations: 39.7 kB / 0.842 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.1885, allocations: 47.67 kB / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1885, allocations: 0 / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1885, allocations: 0 / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1885, allocations: 0 / 0.8421 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.191, allocations: 0.7083 MB / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.191, allocations: 0 / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.1911, allocations: 4 kB / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1911, allocations: 0 / 0.8428 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.1911, allocations: 27.97 kB / 0.8428 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1911, allocations: 4 kB / 0.8428 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1911, allocations: 0 / 0.8428 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.1928, allocations: 497.5 kB / 0.8433 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.1931, allocations: 125.5 kB / 0.8434 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.1932, allocations: 15.98 kB / 0.8434 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.1937, allocations: 31.97 kB / 0.8434 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1937, allocations: 7.984 kB / 0.8434 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.1938, allocations: 59.97 kB / 0.8435 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003509/0.1942, allocations: 295.1 kB / 0.8438 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1942, allocations: 3.938 kB / 0.8438 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00038/0.1946, allocations: 67.98 kB / 0.8438 GB, free: 12.37 MB / 0.5919 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.002266/0.1968, allocations: 1.028 MB / 0.8449 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.1982, allocations: 469.1 kB / 0.8453 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1982, allocations: 4.375 kB / 0.8453 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.1989, allocations: 115.8 kB / 0.8454 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1993, allocations: 27.67 kB / 0.8454 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.2044, allocations: 3.082 MB / 0.8485 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.2046, allocations: 167 kB / 0.8486 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.2047, allocations: 13.08 kB / 0.8486 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.2047, allocations: 19.44 kB / 0.8486 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/0.2047, allocations: 0 / 0.8486 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.2411, allocations: 8 MB / 0.8565 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 7.922 kB / 0.8565 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.557141077704728] Failed to read output from testmodel.py, exit status != 0: 11.507962305098772 11.534404858 11.355523783 Calling exit ...