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.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.001947/0.001947, 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.002348/0.002348, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.969 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.002697/0.002697, allocations: 290.6 kB / 312.7 MB, free: 2.797 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.302/1.302, allocations: 180.6 MB / 0.5369 GB, free: 13.18 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.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"}) [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.002864/0.002864, allocations: 100.9 kB / 0.7396 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2008, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003038/0.2038, allocations: 1.555 MB / 0.8342 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2052, allocations: 0.5554 MB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.2052, allocations: 0 / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2054, allocations: 15.86 kB / 0.8348 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2055, allocations: 27.84 kB / 0.8348 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.2064, allocations: 305.6 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.2071, allocations: 495.4 kB / 0.8356 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.2071, allocations: 4 kB / 0.8356 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.2076, allocations: 279.6 kB / 0.8358 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.208, allocations: 147.7 kB / 0.836 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.2081, allocations: 28 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.862e-05/0.2082, allocations: 28 kB / 0.836 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.2083, allocations: 119.6 kB / 0.8362 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2085, allocations: 183 kB / 0.8363 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.209, allocations: 430.6 kB / 0.8367 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.209, allocations: 4 kB / 0.8367 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.209, allocations: 0 / 0.8367 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.209, allocations: 0 / 0.8367 GB, free: 4.5 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.001342/0.2104, allocations: 0.795 MB / 0.8375 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2104, allocations: 9.344 kB / 0.8375 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.2105, allocations: 42.73 kB / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2106, allocations: 48.7 kB / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.2111, allocations: 260.7 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/0.2111, allocations: 20.36 kB / 0.8379 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.2112, allocations: 28.38 kB / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000948/0.2121, allocations: 214.9 kB / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2121, allocations: 7.938 kB / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2122, allocations: 0 / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2122, allocations: 0 / 0.8381 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.2129, allocations: 111.9 kB / 0.8382 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.2134, allocations: 352.4 kB / 0.8386 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/0.2144, allocations: 166.5 kB / 0.8387 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.2151, allocations: 100.8 kB / 0.8388 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.2151, allocations: 4 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000971/0.2161, allocations: 231 kB / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.2161, allocations: 0 / 0.839 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002467/0.2185, allocations: 495.1 kB / 0.8395 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.2186, allocations: 59.39 kB / 0.8396 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.2191, allocations: 409.9 kB / 0.84 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.2192, allocations: 41.69 kB / 0.84 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2193, allocations: 97.39 kB / 0.8401 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.2194, allocations: 39.69 kB / 0.8401 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.2196, allocations: 125.5 kB / 0.8403 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2198, allocations: 326.8 kB / 0.8406 GB, free: 364 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.2201, allocations: 115.9 kB / 0.8407 GB, free: 248 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.2204, allocations: 173.9 kB / 0.8408 GB, free: 52 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.2208, allocations: 276 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2208, allocations: 0 / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008696/0.2217, allocations: 0.4891 MB / 0.8416 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2218, allocations: 97.5 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2218, allocations: 3.984 kB / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2218, allocations: 4 kB / 0.8417 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.222, allocations: 23.92 kB / 0.8417 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.222, allocations: 4 kB / 0.8417 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.2225, allocations: 63.78 kB / 0.8418 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.2226, allocations: 63.97 kB / 0.8418 GB, free: 14.98 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.0002734/0.2229, allocations: 196.4 kB / 0.842 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.223, allocations: 39.7 kB / 0.8421 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/0.223, allocations: 43.67 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.223, allocations: 0 / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2231, allocations: 4 kB / 0.8421 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2231, allocations: 0 / 0.8421 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.2253, allocations: 0.7122 MB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2253, allocations: 0 / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2253, allocations: 4 kB / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.2253, allocations: 4 kB / 0.8428 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.2253, allocations: 23.97 kB / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2253, allocations: 4 kB / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2254, allocations: 0 / 0.8428 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.227, allocations: 477.7 kB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.2274, allocations: 141.5 kB / 0.8434 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.2274, allocations: 8 kB / 0.8434 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.2279, allocations: 31.95 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2279, allocations: 11.98 kB / 0.8435 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/0.228, allocations: 55.97 kB / 0.8435 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003523/0.2283, allocations: 299 kB / 0.8438 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2283, allocations: 0 / 0.8438 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000397/0.2287, allocations: 67.98 kB / 0.8439 GB, free: 12.81 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.002057/0.2308, allocations: 1.019 MB / 0.8449 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2321, allocations: 406.5 kB / 0.8453 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2321, allocations: 7.875 kB / 0.8453 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.2328, allocations: 119.1 kB / 0.8454 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2332, allocations: 28.56 kB / 0.8454 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.2378, allocations: 2.787 MB / 0.8481 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.2383, allocations: 0.7786 MB / 0.8489 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.207e-05/0.2384, allocations: 5.094 kB / 0.8489 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.2384, allocations: 23.42 kB / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.2384, allocations: 0 / 0.8489 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.2782, allocations: 6.367 MB / 0.8551 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.25, allocations: 4 kB / 0.8551 GB, free: 1.117 MB / 0.5919 GB " [Timeout remaining time 649] (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 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.622447305126116] Failed to read output from testmodel.py, exit status != 0: 11.354142359923571 11.375926476 11.162165486 Calling exit ...