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.0007506/0.0007506, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008882/0.0008882, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8372/0.8372, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001359/0.001359, allocations: 223.3 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.655/0.655, allocations: 138.4 MB / 455.1 MB, free: 30.07 MB / 410.7 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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6475 GB, free: 1.449 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.55e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.2342/0.2342, allocations: 1.515 MB / 0.649 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.2352, allocations: 0.5335 MB / 0.6495 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.2352, allocations: 0 / 0.6495 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 8.403e-05/0.2353, allocations: 6.547 kB / 0.6495 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.2354, allocations: 30.3 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.236, allocations: 313.8 kB / 0.6498 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.2364, allocations: 490 kB / 0.6503 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.2364, allocations: 4.938 kB / 0.6503 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.2368, allocations: 361.7 kB / 0.6506 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.2371, allocations: 126.8 kB / 0.6508 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.2371, allocations: 27.97 kB / 0.6508 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.2372, allocations: 26.59 kB / 0.6508 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2373, allocations: 119.5 kB / 0.6509 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2374, allocations: 132.2 kB / 0.6511 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.2378, allocations: 456.9 kB / 0.6515 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2378, allocations: 2.719 kB / 0.6515 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2378, allocations: 1.656 kB / 0.6515 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.2378, allocations: 0 / 0.6515 GB, free: 56.1 MB / 0.5573 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.0008351/0.2386, allocations: 0.8034 MB / 0.6523 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2387, allocations: 10.59 kB / 0.6523 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.2388, allocations: 52.14 kB / 0.6523 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.239, allocations: 260.7 kB / 0.6526 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.2391, allocations: 17.72 kB / 0.6526 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.2391, allocations: 28.73 kB / 0.6526 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.2397, allocations: 228.8 kB / 0.6529 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2397, allocations: 4.125 kB / 0.6529 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2397, allocations: 7.859 kB / 0.6529 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2397, allocations: 0.9688 kB / 0.6529 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.2401, allocations: 117 kB / 0.653 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.2403, allocations: 281.4 kB / 0.6532 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.2408, allocations: 186.1 kB / 0.6534 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.2412, allocations: 112 kB / 0.6535 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.2412, allocations: 5.562 kB / 0.6535 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000544/0.2418, allocations: 240.9 kB / 0.6538 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.2418, allocations: 0.8438 kB / 0.6538 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001306/0.2431, allocations: 0.5274 MB / 0.6543 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2431, allocations: 59.81 kB / 0.6543 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.2434, allocations: 414.5 kB / 0.6547 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2434, allocations: 42.38 kB / 0.6548 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.2435, allocations: 94.75 kB / 0.6549 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.2435, allocations: 39.66 kB / 0.6549 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2436, allocations: 128.3 kB / 0.655 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2437, allocations: 322.2 kB / 0.6553 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2439, allocations: 197.6 kB / 0.6555 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2441, allocations: 244.3 kB / 0.6558 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.2443, allocations: 281.4 kB / 0.656 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2443, allocations: 0 / 0.656 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005862/0.2449, allocations: 0.5567 MB / 0.6566 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.245, allocations: 81.84 kB / 0.6566 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.245, allocations: 5.375 kB / 0.6566 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.245, allocations: 3.812 kB / 0.6567 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2451, allocations: 27.08 kB / 0.6567 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2451, allocations: 8.703 kB / 0.6567 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2454, allocations: 70.8 kB / 0.6568 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.2455, allocations: 61.39 kB / 0.6568 GB, free: 53.08 MB / 0.5573 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.0001393/0.2456, allocations: 191.3 kB / 0.657 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.2456, allocations: 37.97 kB / 0.657 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.2457, allocations: 43 kB / 0.6571 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.2457, allocations: 5.438 kB / 0.6571 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2457, allocations: 0 / 0.6571 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2457, allocations: 5.672 kB / 0.6571 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.2469, allocations: 0.7113 MB / 0.6578 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2469, allocations: 4.188 kB / 0.6578 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.247, allocations: 5.594 kB / 0.6578 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.247, allocations: 0 / 0.6578 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.247, allocations: 28.83 kB / 0.6578 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.247, allocations: 0 / 0.6578 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.247, allocations: 1.219 kB / 0.6578 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.2479, allocations: 0.5059 MB / 0.6583 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.2481, allocations: 131.9 kB / 0.6584 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.2482, allocations: 17.03 kB / 0.6585 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.2484, allocations: 39.08 kB / 0.6585 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.2484, allocations: 8.234 kB / 0.6585 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.2485, allocations: 57.17 kB / 0.6586 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002196/0.2487, allocations: 293.5 kB / 0.6588 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2487, allocations: 0 / 0.6588 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002432/0.2489, allocations: 74.03 kB / 0.6589 GB, free: 52.14 MB / 0.5573 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.0001199/0.2491, allocations: 120.6 kB / 0.659 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007369/0.2498, allocations: 495.8 kB / 0.6595 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2498, allocations: 384 / 0.6595 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.2502, allocations: 128.4 kB / 0.6596 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2504, allocations: 27.8 kB / 0.6596 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.2513, allocations: 0.6037 MB / 0.6602 GB, free: 51.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2514, allocations: 166.3 kB / 0.6604 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.2514, allocations: 21.8 kB / 0.6604 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2514, allocations: 0 / 0.6604 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.003724/0.2551, allocations: 3.703 MB / 0.664 GB, free: 50.88 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.272871278226376] Failed to read output from testmodel.py, exit status != 0: 0.2600784096866846 0.26662110999999994 0.027203552000000002 Calling exit ...