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.001336/0.001336, allocations: 102.1 kB / 19.59 MB, free: 2.328 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.001446/0.001446, allocations: 217.1 kB / 22.88 MB, free: 5.629 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.391/1.391, allocations: 230.5 MB / 256.5 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002436/0.002436, allocations: 284.1 kB / 313.2 MB, free: 2.859 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 180.8 MB / 0.5376 GB, free: 13.01 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 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.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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [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.002833/0.002833, allocations: 102.2 kB / 0.7405 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2099, allocations: 95.39 MB / 0.8337 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002944/0.2129, allocations: 1.557 MB / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2142, allocations: 0.5437 MB / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.2143, allocations: 0 / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2144, allocations: 7.875 kB / 0.8357 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2145, allocations: 27.84 kB / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.2153, allocations: 318.9 kB / 0.8361 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.2159, allocations: 491.4 kB / 0.8365 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.216, allocations: 7.984 kB / 0.8365 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.2164, allocations: 275.7 kB / 0.8368 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.2167, allocations: 147.7 kB / 0.8369 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.2168, allocations: 28 kB / 0.837 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.2169, allocations: 24 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.217, allocations: 119.6 kB / 0.8371 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.2172, allocations: 187 kB / 0.8373 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.2177, allocations: 430.4 kB / 0.8377 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2177, allocations: 0 / 0.8377 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2177, allocations: 4 kB / 0.8377 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2177, allocations: 0 / 0.8377 GB, free: 3.887 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.00135/0.2191, allocations: 0.7989 MB / 0.8385 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2191, allocations: 9.344 kB / 0.8385 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.2193, allocations: 52.7 kB / 0.8385 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.2197, allocations: 256.7 kB / 0.8388 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.2197, allocations: 20.36 kB / 0.8388 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.883e-05/0.2198, allocations: 32.36 kB / 0.8388 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.2209, allocations: 217.9 kB / 0.839 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2209, allocations: 192 / 0.839 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2209, allocations: 3.938 kB / 0.839 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2209, allocations: 0 / 0.839 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.2218, allocations: 107.9 kB / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.2222, allocations: 356.3 kB / 0.8395 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.2234, allocations: 170.5 kB / 0.8396 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.2242, allocations: 96.78 kB / 0.8397 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2242, allocations: 4 kB / 0.8397 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/0.2253, allocations: 225.6 kB / 0.84 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.2253, allocations: 0 / 0.84 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002764/0.228, allocations: 493 kB / 0.8404 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2281, allocations: 67.38 kB / 0.8405 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.2285, allocations: 409.9 kB / 0.8409 GB, free: 436 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.2286, allocations: 41.69 kB / 0.8409 GB, free: 388 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.2287, allocations: 93.45 kB / 0.841 GB, free: 292 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.2287, allocations: 47.69 kB / 0.8411 GB, free: 244 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2289, allocations: 125.5 kB / 0.8412 GB, free: 112 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2291, allocations: 322.8 kB / 0.8415 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.2295, allocations: 191.3 kB / 0.8417 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2298, allocations: 242.5 kB / 0.8419 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.2303, allocations: 270.3 kB / 0.8422 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2303, allocations: 4 kB / 0.8422 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009794/0.2312, allocations: 0.5601 MB / 0.8427 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/0.2313, allocations: 85.34 kB / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2313, allocations: 0 / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2314, allocations: 4 kB / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.2315, allocations: 23.92 kB / 0.8428 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2315, allocations: 3.984 kB / 0.8428 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.2321, allocations: 67.97 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/0.2322, allocations: 63.97 kB / 0.8429 GB, free: 14.17 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.0002457/0.2324, allocations: 195.7 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.2325, allocations: 39.7 kB / 0.8432 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.2325, allocations: 43.67 kB / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2325, allocations: 0 / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2325, allocations: 0 / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2325, allocations: 4 kB / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.2349, allocations: 0.72 MB / 0.8439 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2349, allocations: 3.938 kB / 0.8439 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.2349, allocations: 7.984 kB / 0.8439 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2349, allocations: 8 kB / 0.8439 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.235, allocations: 23.97 kB / 0.844 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.235, allocations: 0 / 0.844 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.235, allocations: 0 / 0.844 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2369, allocations: 486.1 kB / 0.8444 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.2372, allocations: 129.5 kB / 0.8445 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.2372, allocations: 15.94 kB / 0.8446 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.2377, allocations: 31.95 kB / 0.8446 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2377, allocations: 7.984 kB / 0.8446 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-05/0.2378, allocations: 59.97 kB / 0.8447 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003258/0.2382, allocations: 299.1 kB / 0.8449 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2382, allocations: 3.938 kB / 0.8449 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000396/0.2386, allocations: 64 kB / 0.845 GB, free: 11.99 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.00017/0.2387, allocations: 112.9 kB / 0.8451 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.2401, allocations: 478 kB / 0.8456 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2401, allocations: 0 / 0.8456 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.2409, allocations: 107.9 kB / 0.8457 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2413, allocations: 33.52 kB / 0.8457 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.2428, allocations: 0.5577 MB / 0.8463 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.2433, allocations: 0.7785 MB / 0.847 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.434e-05/0.2433, allocations: 13.08 kB / 0.847 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.2434, allocations: 15.44 kB / 0.847 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.2434, allocations: 0 / 0.847 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of Templates: time 0.009552/0.2529, allocations: 5.042 MB / 0.852 GB, free: 4.68 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9482942298054695] Failed to read output from testmodel.py, exit status != 0: 0.2606383450329304 0.27518199200000004 0.054483801000000005 Calling exit ...