Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.001393/0.001393, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001694/0.001694, allocations: 217 kB / 22.25 MB, free: 5.082 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.008 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.004023/0.004023, allocations: 286.5 kB / 312.7 MB, free: 2.82 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.354/1.354, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 178] 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.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.002876/0.002876, allocations: 103.8 kB / 0.7396 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2014, allocations: 95.39 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.004929/0.2063, allocations: 1.541 MB / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2086, allocations: 0.5593 MB / 0.8348 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.2087, allocations: 3.938 kB / 0.8348 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.2088, allocations: 3.938 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.209, allocations: 23.86 kB / 0.8348 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2105, allocations: 321.7 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2116, allocations: 487.5 kB / 0.8356 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.235e-05/0.2116, allocations: 7.984 kB / 0.8356 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008252/0.2125, allocations: 279.6 kB / 0.8358 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.2131, allocations: 147.6 kB / 0.836 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.2133, allocations: 35.94 kB / 0.836 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.2134, allocations: 28 kB / 0.836 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.2137, allocations: 115.7 kB / 0.8361 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.214, allocations: 187 kB / 0.8363 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008123/0.2149, allocations: 422.7 kB / 0.8367 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2149, allocations: 0 / 0.8367 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2149, allocations: 0 / 0.8367 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.2149, allocations: 0 / 0.8367 GB, free: 4.516 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.002155/0.217, allocations: 0.795 MB / 0.8375 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.2171, allocations: 13.34 kB / 0.8375 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.693e-05/0.2172, allocations: 42.73 kB / 0.8376 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.2174, allocations: 52.7 kB / 0.8376 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.218, allocations: 268.6 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.2181, allocations: 12.38 kB / 0.8379 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.2182, allocations: 28.36 kB / 0.8379 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.2195, allocations: 207.9 kB / 0.8381 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2195, allocations: 11.92 kB / 0.8381 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.2195, allocations: 4 kB / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2195, allocations: 0 / 0.8381 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/0.2205, allocations: 99.92 kB / 0.8382 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.2211, allocations: 360.4 kB / 0.8386 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2224, allocations: 174.4 kB / 0.8387 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009358/0.2233, allocations: 100.8 kB / 0.8388 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2233, allocations: 4 kB / 0.8388 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/0.2246, allocations: 229.4 kB / 0.839 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.2246, allocations: 0 / 0.839 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002629/0.2272, allocations: 489 kB / 0.8395 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.2273, allocations: 63.41 kB / 0.8396 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.2277, allocations: 409.9 kB / 0.84 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.2277, allocations: 41.7 kB / 0.84 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.2278, allocations: 93.44 kB / 0.8401 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.2279, allocations: 47.67 kB / 0.8401 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2281, allocations: 121.5 kB / 0.8402 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2282, allocations: 326.8 kB / 0.8406 GB, free: 372 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2285, allocations: 115.9 kB / 0.8407 GB, free: 256 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.2288, allocations: 171.2 kB / 0.8408 GB, free: 64 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.2292, allocations: 284.3 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2292, allocations: 0 / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008183/0.23, allocations: 488.7 kB / 0.8416 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.2301, allocations: 91.31 kB / 0.8417 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.2301, allocations: 4 kB / 0.8417 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2301, allocations: 3.938 kB / 0.8417 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2303, allocations: 27.91 kB / 0.8417 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2303, allocations: 4 kB / 0.8417 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.2308, allocations: 63.97 kB / 0.8418 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/0.2309, allocations: 59.98 kB / 0.8418 GB, free: 15 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.0002316/0.2311, allocations: 200.3 kB / 0.842 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2312, allocations: 39.7 kB / 0.842 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.2312, allocations: 43.69 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2312, allocations: 4 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2312, allocations: 0 / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2312, allocations: 3.984 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.2334, allocations: 0.7191 MB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2334, allocations: 4 kB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.2335, allocations: 4 kB / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2335, allocations: 0 / 0.8428 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.2335, allocations: 19.97 kB / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2335, allocations: 0 / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2335, allocations: 0 / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2352, allocations: 483.4 kB / 0.8433 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.2355, allocations: 129.5 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.2356, allocations: 11.98 kB / 0.8434 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.236, allocations: 31.97 kB / 0.8434 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.236, allocations: 11.98 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.2361, allocations: 55.97 kB / 0.8435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003592/0.2365, allocations: 295.1 kB / 0.8438 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2365, allocations: 0 / 0.8438 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003693/0.2368, allocations: 71.98 kB / 0.8439 GB, free: 12.82 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.002028/0.2389, allocations: 1.024 MB / 0.8449 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.2401, allocations: 409.3 kB / 0.8453 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2401, allocations: 0 / 0.8453 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.2408, allocations: 107.9 kB / 0.8454 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2411, allocations: 25.64 kB / 0.8454 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.2457, allocations: 2.802 MB / 0.8481 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.2462, allocations: 0.7669 MB / 0.8489 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.251e-05/0.2462, allocations: 17.08 kB / 0.8489 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.2463, allocations: 27.36 kB / 0.8489 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.2463, allocations: 0 / 0.8489 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.2826, allocations: 6.368 MB / 0.8551 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.35, allocations: 7.438 kB / 0.8551 GB, free: 1.125 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.76075708703138] Failed to read output from testmodel.py, exit status != 0: 11.462132964050397 11.48477151 11.265511827 Calling exit ...