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.00145/0.00145, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001644/0.001644, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.988 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.002562/0.002562, allocations: 286.7 kB / 312.7 MB, free: 2.805 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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.002926/0.002926, allocations: 102.8 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2005, allocations: 95.38 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002819/0.2033, allocations: 1.563 MB / 0.8342 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2047, allocations: 0.5454 MB / 0.8348 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.2047, allocations: 0 / 0.8348 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2049, allocations: 11.86 kB / 0.8348 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.205, allocations: 31.84 kB / 0.8348 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.2059, allocations: 311.6 kB / 0.8351 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.2065, allocations: 495.4 kB / 0.8356 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2065, allocations: 4 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.2069, allocations: 271.7 kB / 0.8358 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.2072, allocations: 154.4 kB / 0.836 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.2073, allocations: 32 kB / 0.836 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.2074, allocations: 28 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2075, allocations: 119.6 kB / 0.8362 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.2077, allocations: 187 kB / 0.8363 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.2082, allocations: 422.7 kB / 0.8367 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2082, allocations: 0 / 0.8367 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2082, allocations: 0 / 0.8367 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2082, allocations: 0 / 0.8367 GB, free: 4.535 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.001307/0.2095, allocations: 0.799 MB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.2096, allocations: 21.33 kB / 0.8375 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/0.2096, allocations: 30.75 kB / 0.8376 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2097, allocations: 52.7 kB / 0.8376 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.2102, allocations: 268.6 kB / 0.8379 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.2102, allocations: 24.3 kB / 0.8379 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.2103, allocations: 28.36 kB / 0.8379 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.2112, allocations: 214 kB / 0.8381 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2112, allocations: 3.938 kB / 0.8381 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.2112, allocations: 0 / 0.8381 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2112, allocations: 0 / 0.8381 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.2119, allocations: 103.9 kB / 0.8382 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.2124, allocations: 352.4 kB / 0.8386 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.2133, allocations: 170.4 kB / 0.8387 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/0.214, allocations: 104.8 kB / 0.8388 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.214, allocations: 4 kB / 0.8388 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009001/0.2149, allocations: 223.1 kB / 0.8391 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.2149, allocations: 4 kB / 0.8391 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002339/0.2172, allocations: 489 kB / 0.8395 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.2173, allocations: 67.33 kB / 0.8396 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.2177, allocations: 413.9 kB / 0.84 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.2178, allocations: 41.69 kB / 0.84 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.2179, allocations: 93.44 kB / 0.8401 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.2179, allocations: 39.7 kB / 0.8401 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.2181, allocations: 129.5 kB / 0.8403 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2183, allocations: 318.8 kB / 0.8406 GB, free: 388 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.2185, allocations: 115.9 kB / 0.8407 GB, free: 272 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.2188, allocations: 169.9 kB / 0.8408 GB, free: 80 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.2192, allocations: 280.3 kB / 0.8411 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2192, allocations: 0 / 0.8411 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008215/0.22, allocations: 498.8 kB / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.2201, allocations: 91.31 kB / 0.8417 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2201, allocations: 4 kB / 0.8417 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2201, allocations: 0 / 0.8417 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2203, allocations: 27.92 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2203, allocations: 4.188 kB / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.2208, allocations: 67.77 kB / 0.8418 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.2209, allocations: 55.98 kB / 0.8418 GB, free: 15.01 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.0002373/0.2211, allocations: 192.4 kB / 0.842 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.2212, allocations: 39.7 kB / 0.8421 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.2213, allocations: 47.67 kB / 0.8421 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2213, allocations: 4 kB / 0.8421 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2213, allocations: 0 / 0.8421 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2213, allocations: 3.984 kB / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.2234, allocations: 0.72 MB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2234, allocations: 0 / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.2235, allocations: 7.984 kB / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2235, allocations: 0 / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/0.2235, allocations: 19.98 kB / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2235, allocations: 0 / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2235, allocations: 0 / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.2251, allocations: 487.4 kB / 0.8433 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.2254, allocations: 133.5 kB / 0.8434 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.2255, allocations: 8 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.2259, allocations: 31.97 kB / 0.8435 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.226, allocations: 15.97 kB / 0.8435 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.2261, allocations: 55.98 kB / 0.8435 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000318/0.2264, allocations: 295.1 kB / 0.8438 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2264, allocations: 0 / 0.8438 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000365/0.2267, allocations: 67.98 kB / 0.8439 GB, free: 12.84 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.002034/0.2288, allocations: 1.026 MB / 0.8449 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.23, allocations: 401.6 kB / 0.8453 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.23, allocations: 3.938 kB / 0.8453 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.2307, allocations: 115.8 kB / 0.8454 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.231, allocations: 25.62 kB / 0.8454 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.2354, allocations: 2.798 MB / 0.8481 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.2358, allocations: 0.7669 MB / 0.8489 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.901e-05/0.2359, allocations: 17.08 kB / 0.8489 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.236, allocations: 19.44 kB / 0.8489 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.236, allocations: 0 / 0.8489 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.2741, allocations: 6.366 MB / 0.8551 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.43, allocations: 7.094 kB / 0.8551 GB, free: 1.148 MB / 0.5919 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.62505893688649] Failed to read output from testmodel.py, exit status != 0: 11.540747015038505 11.558350638 11.346894613 Calling exit ...